1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

fix spaces at end of line

This commit is contained in:
paul moore 2023-12-03 13:19:42 -08:00
parent 617eb0e065
commit b527549dd2
2 changed files with 3 additions and 4 deletions

View File

@ -1132,7 +1132,7 @@ StrBuf MakeLineFromTokens (TokNode* first)
SB_AppendStr (&T, ival);
} else if ((token_string = GetTokenString (token)) != NULL) {
SB_AppendStr (&T, token_string);
}
}
SB_Append (&S, &T);
if (token->Tok == TOK_SEP) {
return S;

View File

@ -676,7 +676,7 @@ static void OptExpandMacros (const char* Opt attribute ((unused)),
const char* Arg attribute ((unused)))
/* Expand macros in listing
** one -m means short listing
** two means full listing
** two means full listing
*/
{
@ -709,7 +709,6 @@ static void OneLine (void)
** and not from internally pushed input
*/
if (!HavePushedInput () ) {
InitListingLine ();
}
@ -899,7 +898,7 @@ static void Assemble (void)
while (CurTok.Tok != TOK_EOF) {
OneLine ();
}
}