[Lxr-dev] [ lxr-Bugs-2758373 ] Invalid Perl Identifier References
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2009-04-13 10:07:26
|
Bugs item #2758373, was opened at 2009-04-13 10:37 Message generated for change (Comment added) made by adrianissott You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=2758373&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: Browsing Group: v0.9.6 Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: AdrianIssott (adrianissott) >Assigned to: AdrianIssott (adrianissott) Summary: Invalid Perl Identifier References Initial Comment: The attached zip file contains the result of doing an identifier search for char_2_int which gives references on lines 31, 32 and 52. However, the html.pl source file (also in the zip) shows char_2_int occurring on lines 44 and 72. This occurs when using plain files with either MySql or PostGreSql as the database. ---------------------------------------------------------------------- >Comment By: AdrianIssott (adrianissott) Date: 2009-04-13 11:07 Message: The issue occurred as a result of the following line in generic.conf for the perl langmap: 'atom' => ('\$\W?', ''), The atom keyword in the language spec is normally used to ignore characters such as \", \' and \# to prevent them from otherwise incorrectly terminating other language specs such as strings and comments. However, the above atom pattern matches perfectly normal things such as $! and $? which don't seem to affect the other spec patterns. Certainly the perl parsing is now much improved as a result of removing this line. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=2758373&group_id=27350 |