aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/parser.test.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-01 09:38:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-01 09:38:37 +0200
commitdcbd81ad1c303dd2b9ef54e8e7e485bb17c6de49 (patch)
tree85492533cc824b5475936b670e966a8dda6033f4 /libbuild2/build/script/parser.test.cxx
parentedbb2e3156714887b2334e5b6748f463e2d35ba3 (diff)
Fix buildscript unit test to compile
Diffstat (limited to 'libbuild2/build/script/parser.test.cxx')
-rw-r--r--libbuild2/build/script/parser.test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/build/script/parser.test.cxx b/libbuild2/build/script/parser.test.cxx
index 9046312..10e1701 100644
--- a/libbuild2/build/script/parser.test.cxx
+++ b/libbuild2/build/script/parser.test.cxx
@@ -160,7 +160,7 @@ namespace build2
//
parser p (ctx);
path_name nm ("buildfile");
- script s (p.pre_parse (cin, nm, 11 /* line */));
+ script s (p.pre_parse (cin, nm, 11 /* line */, nullopt));
switch (m)
{