Fixed a bug where the preprocessor would occasionally lose whitespace at the beginning of lines immediately after a #endif, which was confusing the assembler.

This commit is contained in:
dtrg 2007-04-21 23:10:13 +00:00
parent 2a367fa192
commit b66d66b597

View file

@ -5,6 +5,8 @@
/* $Id$ */ /* $Id$ */
/* PREPROCESSOR DRIVER */ /* PREPROCESSOR DRIVER */
#include <stdlib.h>
#include <stdio.h>
#include <system.h> #include <system.h>
#include <alloc.h> #include <alloc.h>
#include "input.h" #include "input.h"
@ -210,6 +212,7 @@ preprocess(fn)
domacro(); domacro();
lineno++; lineno++;
newline(); newline();
do_line_dir(lineno, fn);
c = GetChar(); c = GetChar();
} else startline = 0; } else startline = 0;
} }