Skip to content

Commit ec46172

Browse files
authored
Merge pull request #703 from p4lang/format
Formatting fixes
2 parents 5f6d804 + 111b4aa commit ec46172

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -7201,7 +7201,7 @@ above on recursion that apply while a parser or control is executing.
72017201
The first table lists restrictions on what types can be passed as
72027202
constructor parameters to other types.
72037203

7204-
|-------------|-------------------------------------------------|
7204+
|-------------|---------|--------|---------|--------|
72057205
| | can be a constructor parameter for this type ||||
72067206
| |---------|--------|---------|--------|
72077207
| This type | package | parser | control | extern |
@@ -7235,8 +7235,8 @@ instantiation, hence the answer "N/A" (for not applicable) in those
72357235
table entries. Variables may not be declared at the top level of your
72367236
program, but constants may.
72377237

7238-
|-------------|-------------------------------------------------|
7239-
| | can be instantiated in this place ||||||
7238+
|-------------|-----------|---------|---------|--------|---------|----------|
7239+
| | can be instantiated in this place ||||||
72407240
| |-----------|---------|---------|---------|--------|----------|
72417241
| This type | top level | package | parser | control | extern | function |
72427242
+-------------+:---------:+:-------:+:-------:+:-------:+:------:+:--------:+
@@ -7254,7 +7254,7 @@ The next table lists restrictions on what types can be passed as
72547254
run-time parameters to other callable things that have run-time
72557255
parameters: parsers, controls, extern methods, actions, and functions.
72567256

7257-
|-------------|-------------------------------------------------|
7257+
|-------------|-----------|---------|---------|---------|----------|
72587258
| | can be a run-time parameter to this callable thing |||||
72597259
| |-----------|---------|---------|---------|----------|
72607260
| This type | parser | control | method | action | function |
@@ -7283,7 +7283,7 @@ One way that an extern can be called from the top level of a parser or
72837283
control is in an initializer expression for a declared variable,
72847284
e.g. `bit<32> x = rand.get();`.
72857285

7286-
|-------------|-------------------------------------------------|
7286+
|-------------|-----------|---------|-----------|---------|--------|----------|
72877287
| | can be called at run time from this place in a P4 program ||||||
72887288
| |-----------|---------|-----------|---------|--------|----------|
72897289
| | | control | parser or | | | |

0 commit comments

Comments
 (0)