mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
Fix .endmacro not at the start of the line. Allow empty macro
This commit is contained in:
parent
0a05f78d47
commit
4b29615f2b
@ -480,6 +480,7 @@ void MacDef (unsigned Style)
|
|||||||
*/
|
*/
|
||||||
if (Style == MAC_STYLE_CLASSIC) {
|
if (Style == MAC_STYLE_CLASSIC) {
|
||||||
ConsumeSep ();
|
ConsumeSep ();
|
||||||
|
LastTokWasSep = 1;
|
||||||
} else if (HaveParams) {
|
} else if (HaveParams) {
|
||||||
ConsumeRParen ();
|
ConsumeRParen ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user