diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-20 07:05:14 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-22 11:33:07 +0800 |
commit | 72f9e45b1a6d4a5163610a96869c8716bbfda74b (patch) | |
tree | 9a9e1d0e3280fc226b975c2d0e1b250bfe970982 /docs | |
parent | 980ba42faf825a1e66fb4689fc1a7553e7b9ef87 (diff) | |
download | dexon-solidity-72f9e45b1a6d4a5163610a96869c8716bbfda74b.tar.gz dexon-solidity-72f9e45b1a6d4a5163610a96869c8716bbfda74b.tar.zst dexon-solidity-72f9e45b1a6d4a5163610a96869c8716bbfda74b.zip |
Add true/false literals
Diffstat (limited to 'docs')
-rw-r--r-- | docs/julia.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/julia.rst b/docs/julia.rst index f97fb4b0..1bd67670 100644 --- a/docs/julia.rst +++ b/docs/julia.rst @@ -103,10 +103,12 @@ Grammar:: BuiltinTypeName = 'bool' | [us] ( '8' | '32' | '64' | '128' | '256' ) TypedIdentifierList = Identifier ':' TypeName ( ',' Identifier ':' TypeName )* Literal = - (NumberLiteral | StringLiteral | HexLiteral) ':' TypeName + (NumberLiteral | StringLiteral | HexLiteral | TrueLiteral | FalseLiteral) ':' TypeName NumberLiteral = HexNumber | DecimalNumber HexLiteral = 'hex' ('"' ([0-9a-fA-F]{2})* '"' | '\'' ([0-9a-fA-F]{2})* '\'') StringLiteral = '"' ([^"\r\n\\] | '\\' .)* '"' + TrueLiteral = 'true' + FalseLiteral = 'false' HexNumber = '0x' [0-9a-fA-F]+ DecimalNumber = [0-9]+ |