also keep underscore in id
This commit is contained in:
+1
-1
@@ -962,7 +962,7 @@ result_t loadScanConfigFile(MessageMap* messages, symbol_t address, bool verbose
|
||||
prefix.c_str(), getResultCode(result));
|
||||
auto it = ident.begin();
|
||||
while (it != ident.end()) {
|
||||
if (!::isalnum(*it)) {
|
||||
if (*it != '_' && !::isalnum(*it)) {
|
||||
it = ident.erase(it);
|
||||
} else {
|
||||
*it = static_cast<char>(::tolower(*it));
|
||||
|
||||
Reference in New Issue
Block a user