> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 21:50:18 up 20:40, 1 user, load average: 0.26, 0.21, 0.20
This commit is contained in:
@ -55,8 +55,8 @@ static struct rule {
|
||||
{"\\)", ')'}, // )
|
||||
{"[0-9]+", TK_DEC}, // dec number
|
||||
|
||||
{"0x[0-9a-fA-F]+", TK_HEX}, // hex number
|
||||
{"$[0-9a-z]+", TK_REG}, // register
|
||||
{"0[xX][0-9a-fA-F]+", TK_HEX}, // hex number
|
||||
{"[$][0-9a-z]+", TK_REG}, // register
|
||||
};
|
||||
|
||||
#define NR_REGEX ARRLEN(rules)
|
||||
|
Reference in New Issue
Block a user