# file      : libbuild2/shell/script/lexer+first-token.test.testscript
# license   : MIT; see accompanying LICENSE file

# Note: this mode auto-expires after each token.
#
test.arguments = first-token

: assign
:
$* <"foo=" >>EOO
'foo'
'='
<newline>
EOO

: append
:
$* <"foo+=" >>EOO
'foo'
'+='
<newline>
EOO

: prepend
:
$* <"foo=+" >>EOO
'foo'
'=+'
<newline>
EOO
