aboutsummaryrefslogtreecommitdiff
path: root/src/tpc.lex
diff options
context:
space:
mode:
authorpacien2018-06-05 02:49:50 +0200
committerpacien2018-06-05 02:49:50 +0200
commitfe36a92c2d22057e8bbbf4c248706984f06415c0 (patch)
treeeb7fea744e7f9166b3794f28a9d1a643a4633210 /src/tpc.lex
parentfb9befa3d883250d67b6cec492018c78f89ef2e8 (diff)
downloadtpc-compiler-fe36a92c2d22057e8bbbf4c248706984f06415c0.tar.gz
Add void type
Diffstat (limited to 'src/tpc.lex')
-rw-r--r--src/tpc.lex1
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
10int lineno = 1; 11int lineno = 1;
11%} 12%}
12 13