diff options
author | pacien | 2018-06-05 02:49:50 +0200 |
---|---|---|
committer | pacien | 2018-06-05 02:49:50 +0200 |
commit | fe36a92c2d22057e8bbbf4c248706984f06415c0 (patch) | |
tree | eb7fea744e7f9166b3794f28a9d1a643a4633210 /src/tpc.lex | |
parent | fb9befa3d883250d67b6cec492018c78f89ef2e8 (diff) | |
download | tpc-compiler-fe36a92c2d22057e8bbbf4c248706984f06415c0.tar.gz |
Add void type
Diffstat (limited to 'src/tpc.lex')
-rw-r--r-- | src/tpc.lex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tpc.lex b/src/tpc.lex index bdf6bb5..7d907b4 100644 --- a/src/tpc.lex +++ b/src/tpc.lex | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "tpc.tab.h" | 7 | #include "tpc.tab.h" |
8 | #define INT 0 | 8 | #define INT 0 |
9 | #define CHAR 1 | 9 | #define CHAR 1 |
10 | #define VOID 2 | ||
10 | int lineno = 1; | 11 | int lineno = 1; |
11 | %} | 12 | %} |
12 | 13 | ||