> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 03:11:38 up 1 day 3:27, 2 users, load average: 0.37, 0.52, 0.58
This commit is contained in:
parent
a3e3ce99dc
commit
816ab15a75
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ expression
|
|||
| expression '-' expression { $$ = $1 - $3; }
|
||||
| expression '*' expression { $$ = $1 * $3; }
|
||||
| expression '/' expression { $$ = $1 / $3; }
|
||||
| '-' number { $$ = -$2; }
|
||||
// | '-' number { $$ = -$2; }
|
||||
| '(' expression ')' { $$ = $2; }
|
||||
|
||||
number
|
||||
|
|
Loading…
Reference in a new issue