mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14042 from uji/unicode-string-grammer
docs/grammer: Fix the writing of unicodeStringLiteral rules.
This commit is contained in:
commit
0aa85153e5
@ -198,9 +198,7 @@ fragment EscapeSequence:
|
|||||||
/**
|
/**
|
||||||
* A single quoted string literal allowing arbitrary unicode characters.
|
* A single quoted string literal allowing arbitrary unicode characters.
|
||||||
*/
|
*/
|
||||||
UnicodeStringLiteral:
|
UnicodeStringLiteral: 'unicode' (('"' DoubleQuotedUnicodeStringCharacter* '"') | ('\'' SingleQuotedUnicodeStringCharacter* '\''));
|
||||||
'unicode"' DoubleQuotedUnicodeStringCharacter* '"'
|
|
||||||
| 'unicode\'' SingleQuotedUnicodeStringCharacter* '\'';
|
|
||||||
//@doc:inline
|
//@doc:inline
|
||||||
fragment DoubleQuotedUnicodeStringCharacter: ~["\r\n\\] | EscapeSequence;
|
fragment DoubleQuotedUnicodeStringCharacter: ~["\r\n\\] | EscapeSequence;
|
||||||
//@doc:inline
|
//@doc:inline
|
||||||
|
Loading…
Reference in New Issue
Block a user