[Lxr-dev] [ lxr-Bugs-3204202 ] #directives not always recognised
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-03-12 11:22:34
|
Bugs item #3204202, was opened at 2011-03-09 14:52 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204202&group_id=27350 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: Lang support Group: current cvs >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: #directives not always recognised Initial Comment: C syntax allows to have spaces between # and directive names. This is correctly reflected in generic.conf patterns but not in isreserved code. The reserved keyword list in generic.conf uses the compact form of the directive. Side effect of the proposed patch: do not forget to remove also spaces in Fortran key words the day they are implemented. In Generic.pm, sub isreserved !-170 110307 (after line 170, insert:) ! $frag =~ s/\s//g ; # for those who write # include --------------- end of patch -------------------------- ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2011-03-12 12:22 Message: Ignore spaces between # and directive when looking up ---------------------------------------------------------------------- Comment By: Andre-Littoz (ajlittoz) Date: 2011-03-12 12:22 Message: This has now been fixed in CVS. If you can install the new version and check that it solves your problem, then it would be very useful. Thanks for reporting this defect and helping to make LXR better. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204202&group_id=27350 |