aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-03 18:25:20 +0800
committerGitHub <noreply@github.com>2018-12-03 18:25:20 +0800
commit0d1dd30ce84e77866e648219f4c84129fcb497e6 (patch)
tree9974c8aea7eb6280f4a90d9681ff37f592e6cf60
parent5897b14d63389eaa03670b25c211c33411176b81 (diff)
parentcb9816f7d69a8b0f877cb60a0201279e9d50135b (diff)
downloaddexon-solidity-0d1dd30ce84e77866e648219f4c84129fcb497e6.tar.gz
dexon-solidity-0d1dd30ce84e77866e648219f4c84129fcb497e6.tar.zst
dexon-solidity-0d1dd30ce84e77866e648219f4c84129fcb497e6.zip
Merge pull request #5524 from ethereum/yulGrammarChanges
Yul grammar changes.
-rw-r--r--docs/yul.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/yul.rst b/docs/yul.rst
index 2784078c..9e50f126 100644
--- a/docs/yul.rst
+++ b/docs/yul.rst
@@ -559,8 +559,7 @@ regular strings in native encoding. For code,
Grammar::
- TopLevelObject = 'object' '{' Code? ( Object | Data )* '}'
- Object = 'object' StringLiteral '{' Code? ( Object | Data )* '}'
+ Object = 'object' StringLiteral '{' Code ( Object | Data )* '}'
Code = 'code' Block
Data = 'data' StringLiteral ( HexLiteral | StringLiteral )
HexLiteral = 'hex' ('"' ([0-9a-fA-F]{2})* '"' | '\'' ([0-9a-fA-F]{2})* '\'')