summaryrefslogtreecommitdiffstats
path: root/header.h
diff options
context:
space:
mode:
Diffstat (limited to 'header.h')
-rw-r--r--header.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/header.h b/header.h
new file mode 100644
index 0000000..fd9a8aa
--- /dev/null
+++ b/header.h
@@ -0,0 +1,11 @@
+struct symtab{
+ char lexeme[256];
+ struct symtab *front;
+ struct symtab *back;
+ int line;
+ int counter;
+};
+
+typedef struct symtab symtab;
+symtab * lookup(char *name);
+void insert(char *name);