> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux 19:31:48 up 1 day 5:07, 2 users, load average: 1.68, 1.18, 0.92
This commit is contained in:
parent
cff522a5ca
commit
4c3cd1ca9f
1 changed files with 2 additions and 2 deletions
|
@ -31,10 +31,10 @@ input
|
||||||
|
|
||||||
expression
|
expression
|
||||||
: number { $$ = $1; }
|
: number { $$ = $1; }
|
||||||
| expression '=' '=' expression { $$ = ($1 == $3); }
|
|
||||||
| expression '!' '=' expression { $$ = ($1 == $3); }
|
|
||||||
| expression '>' '=' expression { $$ = ($1 >= $3); }
|
| expression '>' '=' expression { $$ = ($1 >= $3); }
|
||||||
| expression '<' '=' expression { $$ = ($1 <= $3); }
|
| expression '<' '=' expression { $$ = ($1 <= $3); }
|
||||||
|
| expression '=' '=' expression { $$ = ($1 == $3); }
|
||||||
|
| expression '!' '=' expression { $$ = ($1 == $3); }
|
||||||
| expression '>' expression { $$ = ($1 > $3); }
|
| expression '>' expression { $$ = ($1 > $3); }
|
||||||
| expression '<' expression { $$ = ($1 < $3); }
|
| expression '<' expression { $$ = ($1 < $3); }
|
||||||
| expression '+' expression { $$ = $1 + $3; }
|
| expression '+' expression { $$ = $1 + $3; }
|
||||||
|
|
Loading…
Reference in a new issue