]> granicus.if.org Git - flex/commitdiff
Fixed CCL-match pattern for [:whatever:]
authorVern Paxson <vern@ee.lbl.gov>
Sat, 10 Dec 1994 17:53:08 +0000 (17:53 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Sat, 10 Dec 1994 17:53:08 +0000 (17:53 +0000)
scan.l

diff --git a/scan.l b/scan.l
index 805c74a27adc5cf4a6eb9a0f8f2412c3cff45f99..b4d5864cf61ba633132607fdaef0e971c00ba563 100644 (file)
--- a/scan.l
+++ b/scan.l
@@ -381,7 +381,7 @@ LEXOPT              [aceknopr]
                        yyterminate(); /* to stop the parser */
                        }
 
-       "["{FIRST_CCL_CHAR}({CCL_CHAR}|{CCL_EXPR})*     {
+       "["({FIRST_CCL_CHAR}|{CCL_EXPR})({CCL_CHAR}|{CCL_EXPR})*        {
                        int cclval;
 
                        strcpy( nmstr, yytext );