aboutsummaryrefslogtreecommitdiff
path: root/cibic.l
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-07 11:28:07 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-07 11:28:07 +0800
commitbbb4de0693ba2b010cd2c44805d9a4ee4a2a8904 (patch)
tree2ee9cd2634f6c00a948f1970df1eb80d2eda722c /cibic.l
parent44a8fd7f007ab5b135677255c0f8c5e749ab638c (diff)
...
Diffstat (limited to 'cibic.l')
-rw-r--r--cibic.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/cibic.l b/cibic.l
index 6dd82ac..aa9eeff 100644
--- a/cibic.l
+++ b/cibic.l
@@ -8,7 +8,8 @@ char linebuff[MAX_LINEBUFF], *lptr = linebuff;
#define YY_USER_ACTION \
do { \
yylloc.first_line = yylloc.last_line = yylineno; \
- yylloc.first_column = yycolumn; yylloc.last_column = yycolumn + yyleng - 1; \
+ yylloc.first_column = yycolumn; \
+ yylloc.last_column = yycolumn + yyleng - 1; \
yycolumn += yyleng; \
memmove(lptr, yytext, yyleng); \
lptr += yyleng; \