summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cc')
-rw-r--r--src/parser.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parser.cc b/src/parser.cc
index a6053d69..d94cf37f 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -473,8 +473,9 @@ expr_t::parser_t::parse_value_expr(std::istream& in,
}
expr_t::ptr_op_t
-expr_t::parser_t::parse(std::istream& in, const parse_flags_t& flags,
- const string * original_string)
+expr_t::parser_t::parse(std::istream& in,
+ const parse_flags_t& flags,
+ const optional<string>& original_string)
{
try {
ptr_op_t top_node = parse_value_expr(in, flags);