summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-10-19 13:03:35 +0000
committerDavid Greene <greened@obbligato.org>2011-10-19 13:03:35 +0000
commit9ba42085dac878f3ae6fc15345c43796d5122d00 (patch)
treea8435a848192adb41bb27d3f447bfc285034b3f9 /llvm/lib/ExecutionEngine
parent9effff28c8b6533f286639df412649e2cb1fe5cb (diff)
downloadbcm5719-llvm-9ba42085dac878f3ae6fc15345c43796d5122d00.tar.gz
bcm5719-llvm-9ba42085dac878f3ae6fc15345c43796d5122d00.zip
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
Diffstat (limited to 'llvm/lib/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud