mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-22 20:32:07 +00:00
Factor report_unexpected_token out into its own function.
This commit is contained in:
parent
314842d2a0
commit
0a6d9f4dc9
2 changed files with 30 additions and 40 deletions
|
@ -105,6 +105,7 @@ namespace Yosys
|
|||
*/
|
||||
int lexer(std::string &str);
|
||||
|
||||
void report_unexpected_token(int tok);
|
||||
LibertyAst *parse();
|
||||
void error() const;
|
||||
void error(const std::string &str) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue