-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Description
Related to #246 which is for when LLVM emits assembly errors. This issue is for when Zig emits assembly template parsing errors and is a prerequisite of #246. Also related is #215.
comptime {
asm(
\\line 1
\\line 2 %
\\line 3
);
}output:
/home/andy/downloads/zig/build/test.zig:2:5: error: expected a '%' or '['
asm(
^
The error points at the asm keyword which does not help you find where the problem is.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.