diff options
Diffstat (limited to 'lexer.l')
-rw-r--r-- | lexer.l | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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: |