From 111b4aa7ed150df05d74d52c0d7fcd9243d0df5b Mon Sep 17 00:00:00 2001 From: mbudiu-vmw Date: Thu, 29 Nov 2018 16:53:00 -0800 Subject: [PATCH] Formatting fixes --- p4-16/spec/P4-16-spec.mdk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/p4-16/spec/P4-16-spec.mdk b/p4-16/spec/P4-16-spec.mdk index e3038a5794..c38323b07c 100644 --- a/p4-16/spec/P4-16-spec.mdk +++ b/p4-16/spec/P4-16-spec.mdk @@ -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 | @@ -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 | +-------------+:---------:+:-------:+:-------:+:-------:+:------:+:--------:+ @@ -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 | @@ -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 | | | |