> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 5 14:18:41 UTC 2024 x86_64 GNU/Linux 23:48:41 up 2 days 12:43, 2 users, load average: 0.79, 0.65, 0.52
This commit is contained in:
parent
fb0d244ddd
commit
22ce94f4a4
2 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
|
||||
%token NUMBER HEX_NUMBER
|
||||
%token REGISTER
|
||||
%locations
|
||||
%start input
|
||||
%define api.value.type { word_t }
|
||||
%parse-param { uint32_t *result }
|
||||
|
|
|
@ -176,6 +176,7 @@ START_TEST(test_expr_plain_register) {
|
|||
fputs(buf, stderr);
|
||||
gpr(i) = i;
|
||||
}
|
||||
|
||||
yy_scan_string(buf);
|
||||
uint32_t value;
|
||||
ck_assert(!yyparse(&value));
|
||||
|
|
Loading…
Reference in a new issue