summaryrefslogtreecommitdiff
path: root/tools/standalone_miri/lex.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-05-12 12:52:46 +0800
committerJohn Hodge <tpg@mutabah.net>2018-05-12 12:52:46 +0800
commit144bd3cdcea986f907468074365dfd17893a0f0f (patch)
tree96b54201972d03623d2d1b96ea964eb3c13f8e04 /tools/standalone_miri/lex.cpp
parent174c4f47160dba499c84986d15180fe4307d4adc (diff)
downloadmrust-144bd3cdcea986f907468074365dfd17893a0f0f.tar.gz
Standalone Miri - Linux build support
Diffstat (limited to 'tools/standalone_miri/lex.cpp')
-rw-r--r--tools/standalone_miri/lex.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/standalone_miri/lex.cpp b/tools/standalone_miri/lex.cpp
index 48a9e0cd..7cfe1a78 100644
--- a/tools/standalone_miri/lex.cpp
+++ b/tools/standalone_miri/lex.cpp
@@ -390,6 +390,10 @@ void Lexer::advance()
{
m_cur = Token { TokenClass::Symbol, "<<" };
}
+ else if( ch == '=' )
+ {
+ m_cur = Token { TokenClass::Symbol, "<=" };
+ }
else
{
m_if.unget();