aboutsummaryrefslogtreecommitdiff
path: root/build2/parser
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser')
-rw-r--r--build2/parser4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/parser b/build2/parser
index 5eb50e5..201e8ed 100644
--- a/build2/parser
+++ b/build2/parser
@@ -85,7 +85,7 @@ namespace build2
variable_name (names_type&&, const location&);
names_type
- variable_value (token&, token_type&, const variable_type&);
+ variable_value (token&, token_type&);
names_type
eval (token&, token_type&);
@@ -208,7 +208,7 @@ namespace build2
lexer_->expire_mode ();
}
- // Token saving and replaying. Note that is can only be used in certain
+ // Token saving and replaying. Note that it can only be used in certain
// contexts. Specifically, the lexer mode should be the same and the code
// that parses a replay must not interact with the lexer directly (e.g.,
// the keyword() test). For now we don't enforce any of this.