From 818dd4a4e743bc8c93d1be67685b1f2e5db6dcf5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 17 Nov 2020 11:23:36 +0200 Subject: Implement modules pseudo-directive parsing (p1703, p1857) --- libbuild2/cc/lexer+first.test.testscript | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 libbuild2/cc/lexer+first.test.testscript (limited to 'libbuild2/cc/lexer+first.test.testscript') 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 <>EOO +; . + ; . +; // Hello +; +; /* Hello +World */ . +EOI +';' t +'.' f +';' t +'.' f +';' t +';' t +';' t +'.' f +EOO -- cgit v1.1