Hi, Here is the fix that switches off '.' for identifiers when parsing #defines in .S files.
https://github.com/wqweto/tinycc/commit/2ec8d7068aeed7b83c9d4f30aa686586182b 1c34 This includes an originally failing test with your SRC(y...) macro for regression testing. I have reset your [2bf43b5] `reverse of the "Identifiers can start and/or contain '.'"` commit in my [dev] branch to be able to go forward (need to be able to parse '.' in asm labels). cheers, </wqw> -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sergey Korshunoff Sent: Wednesday, March 30, 2016 12:34 PM To: [email protected] Subject: Re: [Tinycc-devel] GAS symbols > or switching PARSE_FLAG_ASM_FILE off for preprocessor directives in .S > files Thia solution looks better (maybe only for #defune) because a test program preprocessed fine if we rename it to *.c _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
