git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Expose parsing of expressions from command line.
[goals.git]
/
src
/
parser.mly
diff --git
a/src/parser.mly
b/src/parser.mly
index
4cb18af
..
add72bb
100644
(file)
--- a/
src/parser.mly
+++ b/
src/parser.mly
@@
-36,11
+36,11
@@
open Printf
%token RIGHT_PAREN
%token <Ast.substs> STRING
-%type <Ast.expr> expr
%type <Ast.stmt> stmt
-(* Start non
-terminal
. *)
+(* Start non
terminals
. *)
%start <Ast.file> file
+%start <Ast.expr> expr
%%
file: