X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTableGen%2FTGLexer.cpp;h=63b85842d6a9e68910ecd32eb78be621abbb1ed7;hb=2a2fcc1a0ec4a115bbe76c185f7cd64e77b61e7c;hp=cfcc119f82d3638adc4f436b892b26a3cc8fda78;hpb=c754b579ae1f3ce76b98dbf14bd88b3d653b34e7;p=oota-llvm.git diff --git a/lib/TableGen/TGLexer.cpp b/lib/TableGen/TGLexer.cpp index cfcc119f82d..63b85842d6a 100644 --- a/lib/TableGen/TGLexer.cpp +++ b/lib/TableGen/TGLexer.cpp @@ -411,7 +411,7 @@ tgtok::TokKind TGLexer::LexNumber() { if (CurPtr == NumStart) return ReturnError(CurPtr-2, "Invalid binary number"); CurIntVal = strtoll(NumStart, nullptr, 2); - return tgtok::IntVal; + return tgtok::BinaryIntVal; } }