summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-14 23:51:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-14 23:51:43 +0000
commit0f8155ae4e2cb08bf52c94fec1c73393c16bc708 (patch)
tree2ca199903db827b9d7a4ebaabd1883b4ee4e485a /llvm/docs/LangRef.html
parent389529a7dfd4346d6fb397845d403bb845e52e08 (diff)
downloadbcm5719-llvm-0f8155ae4e2cb08bf52c94fec1c73393c16bc708.tar.gz
bcm5719-llvm-0f8155ae4e2cb08bf52c94fec1c73393c16bc708.zip
Prevent assert when using '"' in names (via hexadecimal).
Update LangRef to mention \xx quoting in names. llvm-svn: 57538
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 27bcb920025..f8ca2879c44 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -335,8 +335,9 @@ the parser.</p>
For example, %foo, @DivisionByZero, %a.really.long.identifier. The actual
regular expression used is '<tt>[%@][a-zA-Z$._][a-zA-Z$._0-9]*</tt>'.
Identifiers which require other characters in their names can be surrounded
- with quotes. In this way, anything except a <tt>&quot;</tt> character can
- be used in a named value.</li>
+ with quotes. Special characters may be escaped using "\xx" where xx is the
+ ASCII code for the character in hexadecimal. In this way, any character can
+ be used in a name value, even quotes themselves.
<li>Unnamed values are represented as an unsigned numeric value with their
prefix. For example, %12, @2, %44.</li>
OpenPOWER on IntegriCloud