Le 26/04/2011 13:44, Shigio YAMAGUCHI a écrit : > For this issue, it seems that complex rules complicate the problem > more and more. Because, using macros, programmers can make many things > which look like function declaration. It is difficult for us to treat > all of them.
I fully second that. Macros should only be considered on a "best effort" basis. Since it is possible to do anything with macros, including the most insane things, a 100% parsing success rate is impossible in the presence of unusual macros (except by calling or re-implementing the pre-processor itself). Global parsing rules should stay few and simple enough so users can still understand them, and to avoid bugs. If that allows "wacky" macros to eat some symbols then so be it. Global is a great tool but people should still know how to use "grep" for corner cases. _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
