Skip to content

Commit

Permalink
CXX: fix preprocessor code emitting unwanted backslash after line con…
Browse files Browse the repository at this point in the history
…tinuation
  • Loading branch information
pragmaware committed Mar 26, 2016
1 parent 20f4e64 commit 4ceab02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/get.c
Expand Up @@ -763,6 +763,7 @@ extern int cppGetc (void)
}
else do
{
start_loop:
c = getcFromInputFile ();
process:
switch (c)
Expand Down Expand Up @@ -831,7 +832,7 @@ extern int cppGetc (void)
int next = getcFromInputFile ();

if (next == NEWLINE)
continue;
goto start_loop;
else
ungetcToInputFile (next);
break;
Expand Down

0 comments on commit 4ceab02

Please sign in to comment.