diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-01-23 21:27:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 21:27:53 +0800 |
commit | c382ce1f6b2542f39832d4fd3120851240f4a8c8 (patch) | |
tree | 2b4d39d3e4ae1de26f98b7d8dda0182ec4c4ff39 | |
parent | 38bdc7a7dc90327bfa635a34f851ffb839ae68a6 (diff) | |
parent | 0b01678bc316d4c966f3cb1b72cbddca934f2609 (diff) | |
download | dexon-solidity-c382ce1f6b2542f39832d4fd3120851240f4a8c8.tar.gz dexon-solidity-c382ce1f6b2542f39832d4fd3120851240f4a8c8.tar.zst dexon-solidity-c382ce1f6b2542f39832d4fd3120851240f4a8c8.zip |
Merge pull request #1593 from ethereum/identifierRegex
Correct identifier regex
-rw-r--r-- | docs/grammar.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt index 62b4a021..a9f328c0 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -114,7 +114,7 @@ NumberUnit = 'wei' | 'szabo' | 'finney' | 'ether' | 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'years' HexLiteral = 'hex' ('"' ([0-9a-fA-F]{2})* '"' | '\'' ([0-9a-fA-F]{2})* '\'') StringLiteral = '"' ([^"\r\n\\] | '\\' .)* '"' -Identifier = [a-zA-Z_] [a-zA-Z_0-9]* +Identifier = [a-zA-Z_$] [a-zA-Z_$0-9]* HexNumber = '0x' [0-9a-fA-F]+ DecimalNumber = [0-9]+ |