aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-06 06:58:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:35:29 +0200
commitfce9782a330e8f701a8df0b5200e5b78e97ec4b5 (patch)
tree725897267dd6b78761dad46b2cae695f27889bf7 /libbuild2/test
parentfa717b42574fe1a7c0c07393f6790595d39c33ae (diff)
Handle multi-curly-brace tokens in lexer
Diffstat (limited to 'libbuild2/test')
-rw-r--r--libbuild2/test/script/lexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/test/script/lexer.cxx b/libbuild2/test/script/lexer.cxx
index 1eeb0be..32c1cf4 100644
--- a/libbuild2/test/script/lexer.cxx
+++ b/libbuild2/test/script/lexer.cxx
@@ -138,7 +138,7 @@ namespace build2
}
assert (ps == '\0');
- state_.push (state {m, data, a, ps, s, n, q, *esc, s1, s2});
+ state_.push (state {m, data, nullopt, a, ps, s, n, q, *esc, s1, s2});
}
token lexer::