Fixed some rules.

This commit is contained in:
Christian Rinderknecht 2019-07-29 12:31:10 +02:00
parent 100bf1119a
commit 25437f5ed5
5 changed files with 5 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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