diff options
author | chriseth <chris@ethereum.org> | 2017-01-21 02:29:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-21 02:29:43 +0800 |
commit | 0b01678bc316d4c966f3cb1b72cbddca934f2609 (patch) | |
tree | bfab19387a984195e8ca84e645598d4155db4fd9 /docs | |
parent | 12b002b3b8575539f332c30691e880bcc2fac5bc (diff) | |
download | dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.gz dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.tar.zst dexon-solidity-0b01678bc316d4c966f3cb1b72cbddca934f2609.zip |
Correct identifier regex
Diffstat (limited to 'docs')
-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]+ |