dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] syntax error in generated code


From: Miroslaw Dobrzanski-Neumann
Subject: [Pnet-developers] syntax error in generated code
Date: Wed, 19 Nov 2003 10:04:49 +0100
User-agent: Mutt/1.4i

Good morning,

the generated code for enumerations contains a syntax error:
"brace after comma" -> ", }"
as in
enum {
        a,
        b, <=== syntax error comma not allowed here
}

the gcc relaxes the checking in such context and reports no error. However a
strict ANSI C compiler rejects the code.

Attached you find a patch witch fixes the problem.

Apply the patch please and forward the new treecc to pnet team.

Regards
-- 
Mirosław Dobrzański-Neumann
E-mail: address@hidden

This message is utf-8 encoded

Attachment: treecc-0.2.6-enum.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]