summaryrefslogtreecommitdiff
path: root/src/token.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.cc')
-rw-r--r--src/token.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/token.cc b/src/token.cc
index fde6a0e3..d173c7ec 100644
--- a/src/token.cc
+++ b/src/token.cc
@@ -278,6 +278,11 @@ void expr_t::token_t::next(std::istream& in, const uint_least8_t pflags)
kind = STAR;
break;
+ case '%':
+ in.get(c);
+ kind = PERCENT;
+ break;
+
case '?':
in.get(c);
kind = QUERY;