aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-01-23 21:27:53 +0800
committerGitHub <noreply@github.com>2017-01-23 21:27:53 +0800
commitc382ce1f6b2542f39832d4fd3120851240f4a8c8 (patch)
tree2b4d39d3e4ae1de26f98b7d8dda0182ec4c4ff39 /docs
parent38bdc7a7dc90327bfa635a34f851ffb839ae68a6 (diff)
parent0b01678bc316d4c966f3cb1b72cbddca934f2609 (diff)
downloaddexon-solidity-c382ce1f6b2542f39832d4fd3120851240f4a8c8.tar.gz
dexon-solidity-c382ce1f6b2542f39832d4fd3120851240f4a8c8.tar.zst
dexon-solidity-c382ce1f6b2542f39832d4fd3120851240f4a8c8.zip
Merge pull request #1593 from ethereum/identifierRegex
Correct identifier regex
Diffstat (limited to 'docs')
-rw-r--r--docs/grammar.txt2
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]+