mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Prevent assert when using '"' in names (via hexadecimal).
Update LangRef to mention \xx quoting in names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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>"</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>
|
||||
|
Reference in New Issue
Block a user