diff options
author | Teddy <ted.sybil@gmail.com> | 2014-04-28 09:20:58 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2014-04-28 09:20:58 +0800 |
commit | b9dda0c12e15f178d99eaea687f86d2b4e11fe16 (patch) | |
tree | 9f4006644f6863991c88236bc03497df196136a1 /cibic.l | |
parent | 33d2a7be3d2ccd826dc3063d4d4703e37b8b3dd2 (diff) |
ssa stage 1 almost done
Diffstat (limited to 'cibic.l')
-rw-r--r-- | cibic.l | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ char ([^\n'\\]|\\.|\\[0-7]+|\\[xX][0-9a-fA-F]+) } '{char}' { - yylval.strval = strdup(yytext); + yylval.strval = strndup(yytext + 1, strlen(yytext) - 2); return CHAR_CONST; } |