summaryrefslogtreecommitdiffstats
path: root/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.l')
-rw-r--r--lexer.l12
1 files changed, 0 insertions, 12 deletions
diff --git a/lexer.l b/lexer.l
index fa86a97..ee934bb 100644
--- a/lexer.l
+++ b/lexer.l
@@ -1,6 +1,5 @@
%option noyywrap
%{
-#include <stdio.h>
#include <string.h>
#include "symbol-table.h"
@@ -145,15 +144,4 @@ ERROR .
%%
-int main(int argc, char **argv)
-{
- if (argc > 1)
- yyin = fopen(argv[1], "r");
- else
- yyin = stdin;
- yylex();
- printSymTab();
- return 0;
-}
-
// vim: set sw=4 ts=4 sts=4 et: