Browse code

VTC3: handle double-quoted argument to -badvcl.

Xavier G authored on 20/02/2015 23:40:42
Showing 1 changed files
... ...
@@ -418,8 +418,13 @@
418 418
         <LineContinue attribute="Normal Text" context="#stay" />
419 419
       </context>
420 420
       <context name="varnish_errvclannounced" attribute="Normal Text" lineEndContext="#stay">
421
+        <DetectChar attribute="String" context="varnish_errvclcode-quoted" char="&quot;" />
421 422
         <DetectChar attribute="Region Marker" context="varnish_errvclcode" char="{" beginRegion="errvclcode_block" />
422 423
       </context>
424
+      <context name="varnish_errvclcode-quoted" attribute="String" lineEndContext="#pop">
425
+        <Detect2Chars attribute="String" context="#stay" char="\" char1="&quot;" />
426
+        <DetectChar attribute="String" context="varnish_postvcldefinition" char="&quot;" />
427
+      </context>
423 428
       <context name="varnish_errvclcode" attribute="Normal Text" lineEndContext="#stay">
424 429
         <DetectChar attribute="Normal Text" context="varnish_errvclcode-internal" char="{" />
425 430
         <DetectChar attribute="Region Marker" context="varnish_postvcldefinition" char="}" endRegion="errvclcode_block" />