aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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})* '\'')