This is the mail archive of the gcc-cvs@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]

r130496 - in /trunk/gcc: ada/ChangeLog ada/par-...


Author: sam
Date: Wed Nov 28 20:44:58 2007
New Revision: 130496

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130496
Log:
    gcc/ada/
	PR ada/17317
	* par-ch4.adb (Is_Parameterless_Attribute): New map.
	(P_Name, Scan_Apostrophe block): Parse left parenthesis following
	attribute name or not depending on the new map.

	* sem-attr.adb (Analyze_Attribute): Parameterless attributes
	returning a string or a type will not be called with improper
	arguments.

	* sem-attr.ads (Attribute_Class_Array): Move to snames.ads.

	* snames.ads (Attribute_Class_Array): Moved from sem-attr.ads.

    gcc/testsuite/
	PR ada/17317
	* gnat.dg/specs/attribute_parsing.ads: New test.

Added:
    trunk/gcc/testsuite/gnat.dg/specs/attribute_parsing.ads
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/par-ch4.adb
    trunk/gcc/ada/sem_attr.adb
    trunk/gcc/ada/sem_attr.ads
    trunk/gcc/ada/snames.ads
    trunk/gcc/testsuite/ChangeLog


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