Fixed some rules.
This commit is contained in:
parent
100bf1119a
commit
25437f5ed5
@ -166,7 +166,7 @@ data_decl ::=
|
||||
| var_decl
|
||||
|
||||
unqualified_decl(OP) ::=
|
||||
var COLON type_expr OP extended_expr
|
||||
var COLON type_expr OP expr
|
||||
|
||||
const_decl ::=
|
||||
open_const_decl SEMI
|
||||
@ -176,9 +176,6 @@ var_decl ::=
|
||||
open_var_decl SEMI
|
||||
| open_var_decl
|
||||
|
||||
extended_expr ::=
|
||||
expr
|
||||
|
||||
instruction ::=
|
||||
single_instr
|
||||
| block
|
||||
|
@ -173,7 +173,7 @@ data_decl ::=
|
||||
| var_decl
|
||||
|
||||
unqualified_decl(OP) ::=
|
||||
var COLON type_expr OP extended_expr
|
||||
var COLON type_expr OP expr
|
||||
|
||||
const_decl ::=
|
||||
open_const_decl SEMI
|
||||
@ -182,9 +182,6 @@ const_decl ::=
|
||||
var_decl ::=
|
||||
open_var_decl option(SEMI)
|
||||
|
||||
extended_expr ::=
|
||||
expr
|
||||
|
||||
instruction ::=
|
||||
single_instr
|
||||
| block
|
||||
|
@ -164,7 +164,7 @@ data_decl ::=
|
||||
| var_decl
|
||||
|
||||
unqualified_decl(OP) ::=
|
||||
Ident (* var *) COLON type_expr OP extended_expr
|
||||
Ident (* var *) COLON type_expr OP expr
|
||||
|
||||
const_decl ::=
|
||||
open_const_decl SEMI
|
||||
@ -173,9 +173,6 @@ const_decl ::=
|
||||
var_decl ::=
|
||||
open_var_decl option(SEMI)
|
||||
|
||||
extended_expr ::=
|
||||
expr
|
||||
|
||||
instruction ::=
|
||||
single_instr
|
||||
| block
|
||||
|
@ -164,7 +164,7 @@ data_decl ::=
|
||||
| var_decl
|
||||
|
||||
unqualified_decl(OP) ::=
|
||||
Ident (* var *) COLON type_expr OP extended_expr
|
||||
Ident (* var *) COLON type_expr OP expr
|
||||
|
||||
const_decl ::=
|
||||
open_const_decl option(SEMI)
|
||||
@ -172,9 +172,6 @@ const_decl ::=
|
||||
var_decl ::=
|
||||
open_var_decl option(SEMI)
|
||||
|
||||
extended_expr ::=
|
||||
expr
|
||||
|
||||
instruction ::=
|
||||
single_instr
|
||||
| block
|
||||
|
@ -164,7 +164,7 @@ data_decl ::=
|
||||
| var_decl
|
||||
|
||||
unqualified_decl(OP) ::=
|
||||
Ident (* var *) COLON type_expr OP extended_expr
|
||||
Ident (* var *) COLON type_expr OP expr
|
||||
|
||||
const_decl ::=
|
||||
open_const_decl option(SEMI)
|
||||
@ -172,9 +172,6 @@ const_decl ::=
|
||||
var_decl ::=
|
||||
open_var_decl option(SEMI)
|
||||
|
||||
extended_expr ::=
|
||||
expr
|
||||
|
||||
instruction ::=
|
||||
single_instr
|
||||
| block
|
||||
|
Loading…
Reference in New Issue
Block a user