From 43124ef418bd7fe909027b977bf5effc305b4740 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Nov 2016 08:48:18 +0200 Subject: Minor cleanup (testscript) --- build2/test/script/parser.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx index ea75d1b..9655778 100644 --- a/build2/test/script/parser.cxx +++ b/build2/test/script/parser.cxx @@ -107,7 +107,7 @@ namespace build2 } line_type parser:: - pre_parse_script_line (token& t, token_type& tt) + pre_parse_script_line (token& t, type& tt) { // Decide whether this is a variable assignment or a command. It is a // variable assignment if the first token is an unquoted word (name) @@ -135,7 +135,7 @@ namespace build2 } void parser:: - parse_script_line (token& t, token_type& tt, line_type lt) + parse_script_line (token& t, type& tt, line_type lt) { switch (lt) { @@ -158,7 +158,7 @@ namespace build2 } void parser:: - parse_variable_line (token& t, token_type& tt) + parse_variable_line (token& t, type& tt) { string name (move (t.value)); @@ -214,7 +214,7 @@ namespace build2 } void parser:: - parse_test_line (token& t, token_type& tt) + parse_test_line (token& t, type& tt) { test ts; @@ -665,7 +665,7 @@ namespace build2 } command_exit parser:: - parse_command_exit (token& t, token_type& tt) + parse_command_exit (token& t, type& tt) { exit_comparison comp (tt == type::equal ? exit_comparison::eq @@ -695,7 +695,7 @@ namespace build2 } string parser:: - parse_here_document (token& t, token_type& tt, const string& em) + parse_here_document (token& t, type& tt, const string& em) { string r; -- cgit v1.1