> 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 02:58:42 up 1 day 3:14, 2 users, load average: 0.82, 0.81, 0.69
This commit is contained in:
parent
a0c0c2c776
commit
1ec03cfb13
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ void gen_rand_op(void) {
|
|||
void gen_rand_expr(void) {
|
||||
int choice = rand() % 3;
|
||||
if (buf_ptr - buf > 2000) {
|
||||
return;
|
||||
choice = 0;
|
||||
}
|
||||
switch (choice) {
|
||||
case 0: gen_num(); break;
|
||||
|
|
Loading…
Reference in a new issue