about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorDaniel Rosenwasser <DanielRosenwasser@gmail.com>2013-09-16 22:38:53 -0400
committerDaniel Rosenwasser <DanielRosenwasser@gmail.com>2013-09-17 23:52:29 -0400
commit604667fa82f72309ee692c77086e22766cc3a8ee (patch)
treee8b95da46456c3deba9eb584a45d891ec8b38f93 /src/rustllvm/PassWrapper.cpp
parent4dc3a97698d393e16c9519a9f42bb72de167a217 (diff)
downloadrust-604667fa82f72309ee692c77086e22766cc3a8ee.tar.gz
rust-604667fa82f72309ee692c77086e22766cc3a8ee.zip
Added support for a `\0` escape sequence.
This commit adds support for `\0` escapes in character and string literals.

Since `\0` is equivalent to `\x00`, this is a direct translation to the latter
escape sequence. Future builds will be able to compile using `\0` directly.

Also updated the grammar specification and added a test for NUL characters.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions