remove spaces around macro name on equ lines
This commit is contained in:
parent
f14c3e359e
commit
7c629fc52e
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ namespace lib94 {
|
||||||
size_t equ_pos = lower_case_line.find(" equ ");
|
size_t equ_pos = lower_case_line.find(" equ ");
|
||||||
if (equ_pos != std::string::npos) {
|
if (equ_pos != std::string::npos) {
|
||||||
|
|
||||||
std::string macro_name = line.substr(0, equ_pos);
|
std::string macro_name = remove_spaces(line.substr(0, equ_pos));
|
||||||
std::string macro_content = line.substr(equ_pos + 5);
|
std::string macro_content = line.substr(equ_pos + 5);
|
||||||
|
|
||||||
if (!is_valid_identifier(macro_name))
|
if (!is_valid_identifier(macro_name))
|
||||||
|
|
Loading…
Add table
Reference in a new issue