diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-25 15:17:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-25 15:17:01 +0200 |
commit | 757f42e7dea94f8b79b3d55074dedeafd853ddc5 (patch) | |
tree | 8fa27fd27e36a85a6348d85b746d49a676a27027 /build2/test/script/parser | |
parent | a3dad2118fb3925ef4f9baa90cea0dfd44ca93c6 (diff) |
Implement literal here-document support
Diffstat (limited to 'build2/test/script/parser')
-rw-r--r-- | build2/test/script/parser | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/test/script/parser b/build2/test/script/parser index fdfbe11..da82df2 100644 --- a/build2/test/script/parser +++ b/build2/test/script/parser @@ -99,10 +99,10 @@ namespace build2 { size_t expr; // Index in command_expr. size_t pipe; // Index in command_pipe. - size_t redir; // Redirect (0 - in, 1 - out, 2 - err). - + int fd; // Redirect fd (0 - in, 1 - out, 2 - err). string end; - bool no_newline; + bool literal; // Literal (single-quote). + bool no_newline; // No final newline. }; using here_docs = vector<here_doc>; |