diff options
Diffstat (limited to 'src/token.cc')
-rw-r--r-- | src/token.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/token.cc b/src/token.cc index f7133af3..9311f60a 100644 --- a/src/token.cc +++ b/src/token.cc @@ -258,6 +258,15 @@ void expr_t::token_t::next(std::istream& in, const uint_least8_t pflags) break; case ':': in.get(c); + c = in.peek(); + if (c == '=') { + in.get(c); + symbol[1] = c; + symbol[2] = '\0'; + kind = DEFINE; + length = 2; + break; + } kind = COLON; break; |