From: Vern Paxson Date: Sat, 10 Dec 1994 17:53:08 +0000 (+0000) Subject: Fixed CCL-match pattern for [:whatever:] X-Git-Tag: flex-2-5-5b~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4973ba3059f312dcd8b503f27f3c28c08caecb6;p=flex Fixed CCL-match pattern for [:whatever:] --- diff --git a/scan.l b/scan.l index 805c74a..b4d5864 100644 --- 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 );