+2012-07-17 Robert Dewar <dewar@adacore.com>
+
+ * sem_prag.adb, treepr.ads: Minor reformatting.
+
2012-07-17 Robert Dewar <dewar@adacore.com>
* exp_ch9.adb: Minor code reorganization.
GNAT_Pragma;
if Warn_On_Obsolescent_Feature then
+ -- Following message is obsolete ???
Error_Msg_N
("'G'N'A'T pragma cpp'_class is now obsolete and has no " &
"effect; replace it by pragma import?", N);
Rewrite (N,
Make_Pragma (Loc,
- Chars => Name_Import,
+ Chars => Name_Import,
Pragma_Argument_Associations =>
New_List (
Make_Pragma_Argument_Association (Loc,
Expression => Make_Identifier (Loc, Name_CPP)),
- New_Copy
- (First (Pragma_Argument_Associations (N))))));
+ New_Copy (First (Pragma_Argument_Associations (N))))));
Analyze (N);
end CPP_Class;
procedure psloc (Loc : Source_Ptr);
pragma Export (Ada, psloc);
-- Prints the sloc Loc
+ -- Why is this here??? use the routines in Sprint instead ???
-- The following are no longer needed; you can use pp or ppp instead