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:
parent
2d7a191b01
commit
66d8fc5c28
2 changed files with 61 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue