Bugs item #3305285, was opened at 2011-05-20 18:38
Message generated for change (Comment added) made by rui_maciel
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=3305285&group_id=96864

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Rui Maciel (rui_maciel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Replace C++-style comment with C-style comment

Initial Comment:
re2c generates files with a C++-style comment at the start of the file, similar 
to the following comment:

/* Generated by re2c 0.13.5 on Fri May 20 19:31:54 2011 */

If a re2c-user is planning to rely on re2c to generate files which will be 
compiled in a C90-only build environment then, as C90 doesn't support C++-style 
comments, the compiler can throw an error.

It would be great if re2c generated that comment as a C-style comment.

----------------------------------------------------------------------

>Comment By: Rui Maciel (rui_maciel)
Date: 2011-05-21 10:45

Message:
Disregard this.  A sudden idiocy attack made me mistake which style of
comments was which.

----------------------------------------------------------------------

Comment By: Rui Maciel (rui_maciel)
Date: 2011-05-20 19:08

Message:
Here is a patch that does just that.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=3305285&group_id=96864

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Re2c-general mailing list
Re2c-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/re2c-general

Reply via email to