bugDotGNU Portable.NET - Bugs: bug #6937, trecc generates C code with syntax...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #6937: trecc generates C code with syntax error

Submitted by:  Miroslaw Dobrzanski-Neumann <miroslaw>
Submitted on:  Tue 02 Dec 2003 10:39:38 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 02 Dec 2003 11:17:18 PM UTC, comment #1:

Patch applied - 3 Dec 2003 - thanks.

Rhys Weatherley <rweather>
Project Administrator
Tue 02 Dec 2003 10:39:38 PM UTC, original submission:

enum { a, b, } is erronous

because "}" may not be folowed by ","

gcc relaxes the check and accepts it but not other ansi C compilers.

the attached patch fixes the problem

Miroslaw Dobrzanski-Neumann <miroslaw>

 

Attached Files
file #906:  treecc-0.2.6-enum.diff added by miroslaw (844B - application/octet-stream - patch for enum generation)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 02 Dec 2003 11:17:18 PM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Tue 02 Dec 2003 10:39:39 PM UTCmiroslawAttached File-=>Added treecc-0.2.6-enum.diff, #900

Back to the top


Powered by Savane 3.1-cleanup1