mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Lexing updated with simpler code. Note: may have bugs.
This commit is contained in:
committed by
Christoffer Lerno
parent
0a9a014e4a
commit
a0be188902
3
test/test_suite/lexing/expected_directive.c3
Normal file
3
test/test_suite/lexing/expected_directive.c3
Normal file
@@ -0,0 +1,3 @@
|
||||
/**
|
||||
@1 // #error: Expected doc directive here
|
||||
*/
|
||||
1
test/test_suite/lexing/invalid_hex_in_hexarray.c3
Normal file
1
test/test_suite/lexing/invalid_hex_in_hexarray.c3
Normal file
@@ -0,0 +1 @@
|
||||
x"abcé" // #error: This isn't a valid hexadecimal digit
|
||||
1
test/test_suite/lexing/invalid_hex_in_hexarray2.c3
Normal file
1
test/test_suite/lexing/invalid_hex_in_hexarray2.c3
Normal file
@@ -0,0 +1 @@
|
||||
x"abcg" // #error: 'g' isn't a valid hexadecimal digit
|
||||
2
test/test_suite/lexing/no_builtin.c3
Normal file
2
test/test_suite/lexing/no_builtin.c3
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
$$1 // #error: Expected a letter after
|
||||
Reference in New Issue
Block a user