]> granicus.if.org Git - flex/commitdiff
allow blank lines and continuations in more places
authorWill Estes <wlestes@users.sourceforge.net>
Mon, 15 Jul 2002 16:55:22 +0000 (16:55 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Mon, 15 Jul 2002 16:55:22 +0000 (16:55 +0000)
scan.l

diff --git a/scan.l b/scan.l
index 17146c1dc0a9ed574ca9dc8e1a84ae832ba66e0f..f680833b5d5f09e9c7e592efdbe27a6363cc5a34 100644 (file)
--- a/scan.l
+++ b/scan.l
@@ -520,6 +520,7 @@ LEXOPT              [aceknopr]
 
 
 <SC>{
+       {OPTWS}{NL}{OPTWS}      ++linenum;      /* Allow blank lines & continuations */
        [,*]            return (unsigned char) yytext[0];
        ">"             BEGIN(SECT2); return '>';
        ">"/^           BEGIN(CARETISBOL); return '>';