summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-07 07:56:50 +0000
committerManuel Klimek <klimek@google.com>2013-01-07 07:56:50 +0000
commitef920699401edf1d910d8af00a600d536732c522 (patch)
tree8edb8b65a08d34473013057e516bb55e122712f9 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parentc7345ccc2c4732603d2803d10b2b235807727057 (diff)
downloadbcm5719-llvm-ef920699401edf1d910d8af00a600d536732c522.tar.gz
bcm5719-llvm-ef920699401edf1d910d8af00a600d536732c522.zip
Fix layouting of tokens with a leading escaped newline.
If a token follows directly on an escaped newline, the escaped newline is stored with the token. Since we re-layout escaped newlines, we need to treat them just like normal whitespace - thus, we need to increase the whitespace-length of the token, while decreasing the token length (otherwise the token length contains the length of the escaped newline and we double-count it while indenting). llvm-svn: 171706
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud