aboutsummaryrefslogtreecommitdiff
path: root/build/lexer
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-08 12:37:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-08 12:37:39 +0200
commitefd76ff778c0b7b1f8cb9e0485bb9b4b62b149a7 (patch)
tree81551df937191dde3503cdaa81fc472e120fa3c5 /build/lexer
parentb66d30af9fb5c50966183820f8ed7af6b8791a2e (diff)
Implement single quote support
Diffstat (limited to 'build/lexer')
-rw-r--r--build/lexer5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/lexer b/build/lexer
index e5676cc..9a0582d 100644
--- a/build/lexer
+++ b/build/lexer
@@ -61,7 +61,10 @@ namespace build
private:
token
- name (xchar, bool separated);
+ name (bool separated);
+
+ void
+ single_quote (std::string& lexeme);
// Return true we have seen any spaces. Skipped empty lines don't
// count. In other words, we are only interested in spaces that