Skip to content

Commit

Permalink
regenerate dynC lexer/parser
Browse files Browse the repository at this point in the history
  • Loading branch information
pefoley2 committed Aug 21, 2016
1 parent dfa440e commit 21dcf8d
Show file tree
Hide file tree
Showing 5 changed files with 1,167 additions and 1,328 deletions.
2 changes: 2 additions & 0 deletions dynC_API/src/C.l
Expand Up @@ -3,6 +3,8 @@
%x comment
%x stringmode
%option yylineno
%option outfile="lex.dynC.C"
%option prefix="dynC"

D[0-9]
L[a-zA-Z_]
Expand Down
5 changes: 5 additions & 0 deletions dynC_API/src/C.y
@@ -1,3 +1,7 @@
%output "dynC.tab.C"
%defines "dynC.tab.h"
%name-prefix "dynC"

%{
/*
* Yacc will define token IF, conflicting with dyn_regs.h
Expand All @@ -8,6 +12,7 @@
#undef RETURN



#include <stdio.h>
#include <vector>
#include <string>
Expand Down

0 comments on commit 21dcf8d

Please sign in to comment.