diff options
author | Teddy <[email protected]> | 2014-05-07 11:28:07 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-05-07 11:28:07 +0800 |
commit | bbb4de0693ba2b010cd2c44805d9a4ee4a2a8904 (patch) | |
tree | 2ee9cd2634f6c00a948f1970df1eb80d2eda722c | |
parent | 44a8fd7f007ab5b135677255c0f8c5e749ab638c (diff) |
...
-rw-r--r-- | cibic.l | 3 | ||||
-rw-r--r-- | semantics.h | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 { |