mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
18
spec/tests/c/test_preproc_file3.txt
Normal file
18
spec/tests/c/test_preproc_file3.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Space around line break before macro is valid C, but failed to parse previously.
|
||||
|
||||
---input---
|
||||
foo();
|
||||
#define FOO 0
|
||||
|
||||
---tokens---
|
||||
'foo' Name
|
||||
'(' Punctuation
|
||||
')' Punctuation
|
||||
';' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'#' Comment.Preproc
|
||||
'define FOO 0' Comment.Preproc
|
||||
'\n' Comment.Preproc
|
Reference in New Issue
Block a user