Skip to content

Commit

Permalink
Merge pull request #703 from p4lang/format
Browse files Browse the repository at this point in the history
Formatting fixes
  • Loading branch information
jnfoster authored Nov 30, 2018
2 parents 5f6d804 + 111b4aa commit ec46172
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions p4-16/spec/P4-16-spec.mdk
Original file line number Diff line number Diff line change
Expand Up @@ -7201,7 +7201,7 @@ above on recursion that apply while a parser or control is executing.
The first table lists restrictions on what types can be passed as
constructor parameters to other types.

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

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

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

|-------------|-------------------------------------------------|
|-------------|-----------|---------|-----------|---------|--------|----------|
| | can be called at run time from this place in a P4 program ||||||
| |-----------|---------|-----------|---------|--------|----------|
| | | control | parser or | | | |
Expand Down

0 comments on commit ec46172

Please sign in to comment.