aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-05-22 15:32:31 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:38:57 +0200
commitb0b048c03930b826ab3dbf88b56fd664fca26886 (patch)
treed6e5e89fb40a31136f6d3e870e59c23f14b70631 /libbuild2/script/parser.hxx
parentb27f36b7af5186ad66fd1afa6e7fdc742f2aa1bd (diff)
Add script command redirect aliases
Diffstat (limited to 'libbuild2/script/parser.hxx')
-rw-r--r--libbuild2/script/parser.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/script/parser.hxx b/libbuild2/script/parser.hxx
index ecd9f5a..d47f88e 100644
--- a/libbuild2/script/parser.hxx
+++ b/libbuild2/script/parser.hxx
@@ -12,6 +12,7 @@
#include <libbuild2/diagnostics.hxx>
#include <libbuild2/script/token.hxx>
+#include <libbuild2/script/lexer.hxx> // redirect_aliases
#include <libbuild2/script/script.hxx>
namespace build2
@@ -86,7 +87,7 @@ namespace build2
using here_docs = vector<here_doc>;
pair<command_expr, here_docs>
- parse_command_expr (token&, token_type&);
+ parse_command_expr (token&, token_type&, const redirect_aliases&);
command_exit
parse_command_exit (token&, token_type&);