AstGen: improve error for invalid bytes in strings and comments
This commit is contained in:
8
test/cases/compile_errors/tab_inside_doc_comment.zig
Normal file
8
test/cases/compile_errors/tab_inside_doc_comment.zig
Normal file
@@ -0,0 +1,8 @@
|
||||
/// Some doc comment
|
||||
export fn entry() void {}
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// :1:13: error: comment contains invalid byte: '\t'
|
||||
Reference in New Issue
Block a user