Skip to content

Commit

Permalink
Fixed the samples/calc.leg sample, now works out of the box
Browse files Browse the repository at this point in the history
  • Loading branch information
n ddrylliog committed Nov 2, 2009
1 parent 094389d commit 60bbbda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.[oa]
greg
samples/*.c
3 changes: 2 additions & 1 deletion samples/calc.leg
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ EOL = '\n' | '\r\n' | '\r' | ';'

int main()
{
while (yyparse());
GREG g;
while (yyparse(&g));

return 0;
}

0 comments on commit 60bbbda

Please sign in to comment.