This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] improve handling of errors in preprocessor


Tested on i686-linux, committed on mainline.

When preprocessing, scanning errors should be ignored, except for
preprocessing lines (those lines starting with a '#'). The first
token was scanned without ignoring errors and this was causing gnatprep
to fail, in particular because the previous token were <end of line>.

2005-06-14  Vincent Celier  <celier@adacore.com>

	* prep.adb (Preprocess): Ignore error when scanning the first token of
	a line.

Attachment: difs.41
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]