-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the no start state error message to include only parser name
Signed-off-by: Pitchumani Sivanupandi <[email protected]>
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
accept_e.p4(18): [--Werror=invalid] error: Invalid parser state: accept should not be implemented, it is built-in | ||
state accept { // reserved name | ||
^^^^^^ | ||
accept_e.p4(16): [--Werror=invalid] error: Parser parser p has no 'start' state | ||
accept_e.p4(16): [--Werror=invalid] error: Parser p has no 'start' state | ||
parser p() | ||
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
issue3338.p4(1): [--Werror=invalid] error: Parser parser MyParser1 has no 'start' state | ||
issue3338.p4(1): [--Werror=invalid] error: Parser MyParser1 has no 'start' state | ||
parser MyParser1(){ | ||
^^^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
nostart.p4(17): [--Werror=invalid] error: Parser parser p has no 'start' state | ||
nostart.p4(17): [--Werror=invalid] error: Parser p has no 'start' state | ||
parser p() { | ||
^ |