Hello,

currently the function source/macro.c:readCheckMacroString() looks for
the "define" keyword and the next character for space or tab, if found
it skips "define" and than any of " \n\t". That means the following
code has a syntax error (replace _ with space):

---cut---
define
test {
}
---cut---

but this not:
---cut---
define_
test {
}
---cut---

This should be made consistence, either remove the \n from the
strspn() call or check also for the \n.

Regards
Bert
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to