From 8d67a696dcfcee098396eb0eab06d43999b29b98 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 25 Mar 2014 21:55:40 +0800 Subject: ... --- cibic.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibic.l b/cibic.l index e616325..84b3239 100644 --- a/cibic.l +++ b/cibic.l @@ -11,7 +11,7 @@ int yycolumn = 1; letter [a-zA-Z_$] digit [0-9] string ((\\.|[^\n\"\\])*) -char ([^'\\]|\\.|\\[0-7][0-7]?[0-7]?|\\[xX][0-9a-fA-F]+) +char ([^'\\]|\\.|\\[0-7]+|\\[xX][0-9a-fA-F]+) %s IN_BLOCK_COMMENT IN_INLINE_COMMENT IN_DIRECTIVE %option yylineno -- cgit v1.2.3-70-g09d2