mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix error message for invalid parameter overrides (#4559)
This commit is contained in:
@@ -130,6 +130,9 @@ public:
|
||||
static bool endsWith(const string& str, const string& suffix);
|
||||
// Return true if char is valid character in word
|
||||
static bool isWordChar(char c) { return isalnum(c) || c == '_'; }
|
||||
// Return proper article (a/an) for a word. May be inaccurate for some special words
|
||||
static string aOrAn(const char* word);
|
||||
static string aOrAn(const string& word) { return aOrAn(word.c_str()); }
|
||||
};
|
||||
|
||||
//######################################################################
|
||||
|
||||
Reference in New Issue
Block a user