aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-05-07 11:28:07 +0800
committerTeddy <[email protected]>2014-05-07 11:28:07 +0800
commitbbb4de0693ba2b010cd2c44805d9a4ee4a2a8904 (patch)
tree2ee9cd2634f6c00a948f1970df1eb80d2eda722c
parent44a8fd7f007ab5b135677255c0f8c5e749ab638c (diff)
...
-rw-r--r--cibic.l3
-rw-r--r--semantics.h2
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 {