diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-09-03 15:44:07 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-09-03 15:44:07 +0800 |
commit | 775e33423d98bf76c5658af59de65fac5cf93e87 (patch) | |
tree | 8be299ca47dad8a40fe2bb73c9eaf03149ad1104 /src/parse/tokenstream.hpp | |
parent | 3504b0dbf00a367bba77dbb9707ffec9e75a6dcb (diff) | |
download | mrust-775e33423d98bf76c5658af59de65fac5cf93e87.tar.gz |
Parse - Tweaked hygine for an edge case in libproc_macro
Diffstat (limited to 'src/parse/tokenstream.hpp')
-rw-r--r-- | src/parse/tokenstream.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parse/tokenstream.hpp b/src/parse/tokenstream.hpp index 5f2e0733..766e52bc 100644 --- a/src/parse/tokenstream.hpp +++ b/src/parse/tokenstream.hpp @@ -61,6 +61,8 @@ public: eTokenType lookahead(unsigned int count); Ident::Hygiene getHygiene() const; + virtual void push_hygine() {} + virtual void pop_hygine() {} ParseState& parse_state() { return m_parse_state; } |