Skip to content

Commit

Permalink
Fix format, remove remrant of conflict resolution
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimír Štill <[email protected]>
Signed-off-by: Vladimír Štill <[email protected]>
  • Loading branch information
vlstill committed Feb 3, 2025
1 parent 958c576 commit 949d2ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions p4-16/spec/P4-16-spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5786,7 +5786,7 @@ include::grammar.adoc[tag=forInitStatement]
include::grammar.adoc[tag=forUpdateStatement]
----

The basic 3-clause `for` statement is similar to a C for statement. The init statements
The basic 3-clause `for` statement is similar to a C `for` statement. The init statements
will be executed prior to executing the loop. The condition will be evaluated before
each iteration, to determine if the loop should exit. If the condition is false, the loop
will exit without executing any statements from the loop body or update.
Expand All @@ -5805,9 +5805,8 @@ A `continue;` statement may be executed in a loop body to skip the rest of the c
loop body, executing the update statements and then evaluating the condition to
either execute the loop body again, or terminate the loop.

The scope of any declaration in a for statement is limited to the for statement and its body.
The scope of any declaration in a `for` statement is limited to the `for` statement and its body.

>>>>>>> upstream/main:p4-16/spec/P4-16-spec.mdk
[#sec-packet-parsing]
== Packet parsing

Expand Down

0 comments on commit 949d2ee

Please sign in to comment.