From bbb4de0693ba2b010cd2c44805d9a4ee4a2a8904 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 7 May 2014 11:28:07 +0800 Subject: ... --- cibic.l | 3 ++- semantics.h | 2 +- 2 files changed, 3 insertions(+), 2 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; \ diff --git a/semantics.h b/semantics.h index c6b3ff8..4ba1317 100644 --- a/semantics.h +++ b/semantics.h @@ -144,7 +144,7 @@ struct CScope { CSNode *top; CTable_t ids; /* ordinary identifiers */ CTable_t tags; /* union & struct tags */ - CTable_t ext_link; /* external linkage */ +/* CTable_t ext_link; external linkage */ }; typedef struct ExpType { -- cgit v1.2.3-70-g09d2