aboutsummaryrefslogtreecommitdiff
path: root/tests/build/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/build/lexer')
-rw-r--r--tests/build/lexer/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/build/lexer/driver.cxx b/tests/build/lexer/driver.cxx
index b1af9d9..e329b1c 100644
--- a/tests/build/lexer/driver.cxx
+++ b/tests/build/lexer/driver.cxx
@@ -71,6 +71,8 @@ main ()
tokens ({"foo", ":", "\n", "bar", ""}));
}
+ostream cnull (nullptr);
+
static tokens
lex (const char* s)
{
@@ -78,7 +80,7 @@ lex (const char* s)
istringstream is (s);
is.exceptions (istream::failbit | istream::badbit);
- lexer l (is, "");
+ lexer l (is, "", cnull);
try
{