Skip to content

Commit ebbdaa4

Browse files
committed
in {repo.}/“p4-spec/p4-16/P4-16-spec.mdk”: in the subsection “Sub-parsers” [12.10 in v1.2.2], replaced 1 instance of the word “declaration” with “definition” to make it clearer why P4 doesn`t support recursion in parsers
1 parent 458f468 commit ebbdaa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p4-16/spec/P4-16-spec.mdk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6229,7 +6229,7 @@ The semantics of a sub-parser invocation can be described as follows:
62296229
[]{tex-cmd: "\indent"}
62306230
Figure [#fig-subparser] shows a diagram of this process.
62316231

6232-
Note that since P4 requires declarations to precede uses, it is impossible to
6232+
Note that since P4 requires definitions to precede uses, it is impossible to
62336233
create recursive (or mutually recursive) parsers.
62346234

62356235
Architectures may impose (static or dynamic) constraints on the

0 commit comments

Comments
 (0)