Support spaces in verilator flags

This commit is contained in:
Wilson Snyder
2010-01-18 20:37:20 -05:00
parent 27e4503dc6
commit d182ecb2d3
3 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -449,7 +449,7 @@ inline bool V3Options::wildmatchi(const char* s, const char* p) {
return true;
}
}
return(*s == '\0' || *s == '[');
return (*s == '\0');
}
bool V3Options::wildmatch(const char* s, const char* p) {
@@ -467,7 +467,7 @@ bool V3Options::wildmatch(const char* s, const char* p) {
return true;
}
}
return(*s == '\0' || *s == '[');
return (*s == '\0');
}
string V3Options::downcase(const string& str) {