Browse code

VTC3: varnish -errvcl is -badvcl in Varnish 3.

Xavier G authored on18/02/2015 22:18:54
Showing1 changed files

... ...
@@ -416,7 +416,7 @@
416 416
       <context name="varnish_identified" attribute="Normal Text" lineEndContext="#pop">
417 417
         <IncludeRules context="varnish_options" />
418 418
         <RegExpr attribute="Keyword" context="varnish_vclannounced" String="\s*\-vcl(?:\+backend)?" />
419
-        <RegExpr attribute="Keyword" context="varnish_errvclannounced" String="\s*\-errvcl" />
419
+        <RegExpr attribute="Keyword" context="varnish_errvclannounced" String="\s*\-badvcl" />
420 420
         <LineContinue attribute="Normal Text" context="#stay" />
421 421
       </context>
422 422
       <context name="varnish_vclannounced" attribute="Normal Text" lineEndContext="#stay">
... ...
@@ -431,18 +431,6 @@
431 431
         <LineContinue attribute="Normal Text" context="#stay" />
432 432
       </context>
433 433
       <context name="varnish_errvclannounced" attribute="Normal Text" lineEndContext="#stay">
434
-        <DetectChar char="&quot;" context="errvcl_expected_error_quoted" attribute="String" />
435
-        <DetectChar char="{" context="errvcl_expected_error_brace" attribute="String" beginRegion="string_block" />
436
-      </context>
437
-      <context name="errvcl_expected_error_quoted" attribute="String" lineEndContext="#pop">
438
-        <Detect2Chars attribute="String" context="#stay" char="\" char1="&quot;" />
439
-        <DetectChar attribute="String" context="varnish_errvcldefined" char="&quot;" />
440
-      </context>
441
-      <context name="errvcl_expected_error_brace" attribute="String" lineEndContext="#pop">
442
-        <DetectChar attribute="String" context="brace-string-internal" char="{" />
443
-        <DetectChar attribute="String" context="varnish_errvcldefined" char="}" endRegion="string_block" />
444
-      </context>
445
-      <context name="varnish_errvcldefined" attribute="Normal Text" lineEndContext="#pop">
446 434
         <DetectChar attribute="Region Marker" context="varnish_errvclcode" char="{" beginRegion="errvclcode_block" />
447 435
       </context>
448 436
       <context name="varnish_errvclcode" attribute="Normal Text" lineEndContext="#stay">