8000 Minor correction on the parser document · python/devguide@4d6bd91 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d6bd91

Browse files
committed
Minor correction on the parser document
1 parent cb28158 commit 4d6bd91

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

parser.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,6 @@ inside curly-braces, which specifies the return value of the alternative::
343343
| first_alt1 first_alt2 { first_alt1 }
344344
| second_alt1 second_alt2 { second_alt1 }
345345

346-
If the action is omitted and C code is being generated, then there are two
347-
different possibilities:
348-
349-
1. If there’s a single name in the alternative, this gets returned.
350-
2. If not, a dummy name object gets returned (this case should be avoided).
351-
352346
If the action is ommited, a default action is generated:
353347

354348
* If there's a single name in the rule in the rule, it gets returned.

0 commit comments

Comments
 (0)
0