Commit 667b3d84 by Vincent Celier Committed by Arnaud Charlet

switch-c.adb (Scan_Front_End_Switches): Take into account options that follow -gnatef.

2010-01-26  Vincent Celier  <celier@adacore.com>

	* switch-c.adb (Scan_Front_End_Switches): Take into account options
	that follow -gnatef.
	Allow -gnateG to be followed by other options.

From-SVN: r156234
parent ebd34478
2010-01-26 Vincent Celier <celier@adacore.com>
* switch-c.adb (Scan_Front_End_Switches): Take into account options
that follow -gnatef.
Allow -gnateG to be followed by other options.
2010-01-26 Robert Dewar <dewar@adacore.com>
* s-commun.ads, s-osprim-mingw.adb, s-stchop-vxworks.adb, sem_aggr.adb,
......
......@@ -403,15 +403,10 @@ package body Switch.C is
Store_Switch := False;
Ptr := Ptr + 1;
Full_Path_Name_For_Brief_Errors := True;
return;
-- -gnateG (save preprocessor output)
when 'G' =>
if Ptr < Max then
Bad_Switch (Switch_Chars);
end if;
Generate_Processed_File := True;
Ptr := Ptr + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment