summaryrefslogtreecommitdiffstats
path: root/symbol-table.h
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-10-21 15:55:24 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-10-21 15:55:24 +0800
commitc96e3923d339fa7095c0d28da01009f95ae86340 (patch)
tree06ec8e4ed87745f4c82e3451ffba350ba8353d2d /symbol-table.h
parent40b7d032402279a5758415a9c98afa4892d76ebf (diff)
downloadcompiler2015-c96e3923d339fa7095c0d28da01009f95ae86340.tar.gz
compiler2015-c96e3923d339fa7095c0d28da01009f95ae86340.tar.zst
compiler2015-c96e3923d339fa7095c0d28da01009f95ae86340.zip
Don't export linenumber global variable
Diffstat (limited to 'symbol-table.h')
-rw-r--r--symbol-table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol-table.h b/symbol-table.h
index 774b46c..aaeaac0 100644
--- a/symbol-table.h
+++ b/symbol-table.h
@@ -8,7 +8,7 @@ struct symtab {
typedef struct symtab symtab;
symtab* lookup(char *name);
-void insertID(char *name);
+void insertID(char *name, int line_number);
void printSymTab(void);
symtab **fillTab(int *len);