mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 22:32:13 -04:00
asm: add exceptions to the whole descriptor-table ops (lgdt/lidt/sgdt/sidt)
This commit is contained in:
1 parent
a6004f297f
commit
e5bce4b2ad
3 files changed
+31
-4
No files matched your search
+4
-3
@@ -2618,9 +2618,10 @@ gb_internal Ast *parse_asm_operand(AstFile *f, bool allow_memory_operand) {
|
||||
Token op = {};
|
||||
op.kind = Token_Add;
|
||||
|
||||
while (f->curr_token.kind != Token_EOF &&
|
||||
f->curr_token.kind != Token_Semicolon &&
|
||||
f->curr_token.kind != Token_CloseBracket) {
|
||||
while (base != nullptr ||
|
||||
(f->curr_token.kind != Token_EOF &&
|
||||
f->curr_token.kind != Token_Semicolon &&
|
||||
f->curr_token.kind != Token_CloseBracket)) {
|
||||
Ast *operand = nullptr;
|
||||
Ast *scale = nullptr;
|
||||
Token scale_op = {};
|
||||
|
||||
Reference in new issue
Block a user