aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/lexer+first.test.testscript
blob: 5c55030c173cf7eb774272a5d56cdbda513a64bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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