diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-17 11:23:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-17 11:23:36 +0200 |
commit | 818dd4a4e743bc8c93d1be67685b1f2e5db6dcf5 (patch) | |
tree | 57c35b478818ab69fd784263cce193e32bd58479 /libbuild2/cc/lexer+first.test.testscript | |
parent | 3ac5998ee4d5e30a35ce7c043b9389598d7f147f (diff) |
Implement modules pseudo-directive parsing (p1703, p1857)
Diffstat (limited to 'libbuild2/cc/lexer+first.test.testscript')
-rw-r--r-- | libbuild2/cc/lexer+first.test.testscript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libbuild2/cc/lexer+first.test.testscript b/libbuild2/cc/lexer+first.test.testscript new file mode 100644 index 0000000..5c55030 --- /dev/null +++ b/libbuild2/cc/lexer+first.test.testscript @@ -0,0 +1,25 @@ +# file : libbuild2/cc/lexer+first.test.testscript +# license : MIT; see accompanying LICENSE file + +# Test the first token of a logical line logic. +# + +: basics +: +$* -f <<EOI >>EOO +; . + ; . +; // Hello +; +; /* Hello +World */ . +EOI +';' t +'.' f +';' t +'.' f +';' t +';' t +';' t +'.' f +EOO |