A leading underscore is valid for macro substitutions.
For text macro substitutions the lexor did not allow leading underscores. This patch fixes that omission. All other places that text macros may be used appear to be correct.
This commit is contained in:
parent
5a88cb5c01
commit
b921a56ad1
|
|
@ -393,7 +393,7 @@ W [ \t\b\f]+
|
|||
}
|
||||
|
||||
/* This pattern notices macros and arranges for them to be replaced. */
|
||||
`[a-zA-Z][a-zA-Z0-9_$]* { def_match(); }
|
||||
`[a-zA-Z_][a-zA-Z0-9_$]* { def_match(); }
|
||||
|
||||
/* Any text that is not a directive just gets passed through to the
|
||||
output. Very easy. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue