1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/TableGen
David Greene 5b898126d2 Add Peek
Add a peek function to let the Lexer look at a character arbitrarily
far ahead in the stream without consuming anything.  We need this to
disambiguate numbers and operands of a paste operation.  For example:

def foo#8i

Without lookahead the lexer will treat '8' as a number rather than as
part of a string to be pasted to form an identifier.

llvm-svn: 142512
2011-10-19 13:03:35 +00:00
..
CMakeLists.txt Revert r141079: tblgen: add preprocessor as a separate mode 2011-10-08 12:39:26 +00:00
Error.cpp Make SMDiagnostic a little more sane. Instead of passing around note/warning/error as a 2011-10-16 05:43:57 +00:00
Main.cpp Revert r141079: tblgen: add preprocessor as a separate mode 2011-10-08 12:39:26 +00:00
Makefile
Record.cpp Resolve Record Names 2011-10-19 13:03:30 +00:00
TableGenBackend.cpp
TGLexer.cpp Add Peek 2011-10-19 13:03:35 +00:00
TGLexer.h Add Peek 2011-10-19 13:03:35 +00:00
TGParser.cpp Make Template Arg Names Inits 2011-10-19 13:02:42 +00:00
TGParser.h Make Template Arg Names Inits 2011-10-19 13:02:42 +00:00