aboutsummaryrefslogtreecommitdiff
path: root/build/parser
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-20 09:43:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-20 09:43:54 +0200
commit962cb1040670977085f0a187ecc6730608578151 (patch)
treeae7a41d5edb193f1aca1ecf1763f887588c1bd9d /build/parser
parent90ae462a44a1478e1c4be1568997b6873f6e688d (diff)
Get rid of parse_ prefix in parser function names
Diffstat (limited to 'build/parser')
-rw-r--r--build/parser22
1 files changed, 11 insertions, 11 deletions
diff --git a/build/parser b/build/parser
index b62e8e7..4fea3db 100644
--- a/build/parser
+++ b/build/parser
@@ -43,31 +43,31 @@ namespace build
std::string name;
};
- typedef std::vector<name_type> names;
+ typedef std::vector<name_type> names_type;
void
- parse_clause (token&, token_type&);
+ clause (token&, token_type&);
void
- parse_print (token&, token_type&);
+ print (token&, token_type&);
void
- parse_source (token&, token_type&);
+ source (token&, token_type&);
void
- parse_include (token&, token_type&);
+ include (token&, token_type&);
- names
- parse_names (token& t, token_type& tt)
+ names_type
+ names (token& t, token_type& tt)
{
- names ns;
- parse_names (t, tt, ns, nullptr, nullptr);
+ names_type ns;
+ names (t, tt, ns, nullptr, nullptr);
return ns;
}
void
- parse_names (token&, token_type&, names&,
- const path* dir, const std::string* type);
+ names (token&, token_type&, names_type&,
+ const path* dir, const std::string* type);
// Utilities.
//