3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-04 01:15:16 +00:00

libparse: quirk-compatibility for unquoted boolean expression strings

This commit is contained in:
Emil J. Tywoniak 2025-11-05 11:00:25 +01:00
parent 2d7a191b01
commit 66d8fc5c28
2 changed files with 61 additions and 22 deletions

View file

@ -170,10 +170,12 @@ namespace Yosys
'n': newline
anything else is a single character.
*/
int lexer_inner(std::string &str);
int lexer(std::string &str);
void report_unexpected_token(int tok);
void parse_vector_range(int tok);
int consume_wrecked_str(int tok, std::string& out_str);
LibertyAst *parse(bool top_level);
void error() const;
void error(const std::string &str) const;