File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ syntax PrefixPostfixExp ::= "++" Exp [klabel('PreIncr)]
13
13
| Exp "--" [klabel('PostDecr)]
14
14
15
15
//use sort K instead of Exp for the sake of Lookup, others might be changed when needed
16
- syntax Exp ::= K "*" K [seqstrict, klabel('Mul)]
17
- | K "/" K [seqstrict, klabel('Div)]
16
+ syntax Exp ::=
17
+ K "*" K [seqstrict, klabel('Mul)]
18
+ | Exp "/" Exp [seqstrict, klabel('Div)]
18
19
| K "%" K [seqstrict, klabel('Remain)]
19
20
| "+" Exp [strict, klabel('Plus)]
20
21
| "-" Exp [strict, klabel('Minus)]
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ rule [lvalue-typedLoc]:
174
174
May be wrapped inside lvalue. If lookup is unwrapped, it evaluates to TypedVal - the store value,
175
175
of the type T - the second lookup argument. If lookup is wrapped into lvalue, it evaluates to loc(OL)::T.
176
176
*/
177
- syntax Lookup ::= lookup (
177
+ syntax Exp ::= lookup (
178
178
Int, //OL - the store location to lookup
179
179
Type // T - the compile-time type of the resulting value
180
180
)
You can’t perform that action at this time.
0 commit comments