aboutsummaryrefslogtreecommitdiffstats
path: root/docs/grammar.txt
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-21 02:29:43 +0800
committerGitHub <noreply@github.com>2017-01-21 02:29:43 +0800
commit0b01678bc316d4c966f3cb1b72cbddca934f2609 (patch)
treebfab19387a984195e8ca84e645598d4155db4fd9 /docs/grammar.txt
parent12b002b3b8575539f332c30691e880bcc2fac5bc (diff)
downloaddexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar
dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.gz
dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.bz2
dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.lz
dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.xz
dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.zst
dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.zip
Correct identifier regex
Diffstat (limited to 'docs/grammar.txt')
-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]+