-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #4: rename Parser package into Lex_Parser
- update the grammar to use Lex_Parser to avoid the same package name as Ayacc which conflicts when Aflex and Ayacc are with'ed within a same Alire project (even if both are built separately, gprbuild will bark when aflex.gpr and ayacc.gpr are included) - rebuild the parser
- Loading branch information
Showing
5 changed files
with
19 additions
and
30 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- Warning: This file is automatically generated by AYACC. | ||
-- It is useless to modify it. Change the ".Y" & ".L" files instead. | ||
|
||
package Lex_Parser is | ||
procedure build_eof_action; | ||
procedure yyerror(msg: string); | ||
procedure YYParse; | ||
def_rule:integer; | ||
end Lex_Parser; |
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
This file was deleted.
Oops, something went wrong.