AstGen: improve error for invalid bytes in strings and comments

This commit is contained in:
Will Lillis
2025-02-05 04:10:11 -05:00
committed by GitHub
parent d72f3d353f
commit cf059ee087
8 changed files with 93 additions and 4 deletions

View 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'