diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-11 13:02:06 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-11 13:02:06 +0000 |
| commit | 9e547b4f8224fe233a91d53c96801a3df94d986d (patch) | |
| tree | 5010401dc5b106e1f07fb1ffb6375c8c4f219623 /src/parser.cpp | |
| parent | 16a6c969719c1b269a881095a0355bae873f7ed9 (diff) | |
| parent | fedc0a9d96b607b17029cd9bbc4dac47e78b119c (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 360537ab7..0efe2714a 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -3130,6 +3130,8 @@ gb_internal Ast *parse_operand(AstFile *f, bool lhs) { } else { dialect = InlineAsmDialect_Intel; } + } else { + syntax_error(token, "Invalid directive on inline asm expression: '#%.*s'", LIT(token.string)); } } else { syntax_error(f->curr_token, "Expected an identifier after hash"); |