aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {