Am 26.02.2010 09:54, [email protected] wrote:
> Author: AlbrechtS
> Date: 2010-02-26 00:54:35 -0800 (Fri, 26 Feb 2010)
> New Revision: 7149
> Log:
> Quick fix for embedded comments problem in Fl_Menu_.cxx introduced
> by documentation changes in r 7148.
> Greg, please try a better fix, if you like.
Greg, I had to do a very quick fix to get this in the next snapshot,
and I committed my update about 6 minutes before snapshot time :-)
I apologize to scramble your nice docs, but I didn't want to fix it
by restructuring the comments (e.g. with // comments?).
> - if ( strcmp(name, "File/&Open") == 0 ) { /* open invoked */ }
> - if ( strcmp(name, "File/&Save") == 0 ) { /* save invoked */ }
> - if ( strcmp(name, "Edit/&Copy") == 0 ) { /* copy invoked */ }
These were embedded comments in the doxygen docs, and gcc consequently
found the end of the comment here.
> + if ( strcmp(name, "File/&Open") == 0 ) { /# open invoked #/ }
> + if ( strcmp(name, "File/&Save") == 0 ) { /# save invoked #/ }
> + if ( strcmp(name, "Edit/&Copy") == 0 ) { /# copy invoked #/ }
This is obviously not very good example code. ;-)
Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev