[Lxr-commits] CVS: lxr/lib/LXR/Lang generic.conf,1.21,1.22
Brought to you by:
ajlittoz
From: AdrianIssott <adr...@us...> - 2009-04-13 10:09:14
|
Update of /cvsroot/lxr/lxr/lib/LXR/Lang In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7820/lib/LXR/Lang Modified Files: generic.conf Log Message: Fix for bug 2758373 (Invalid Perl Identifier References) * Removed 'atom' => ('\$\W?', '') from perl lang spec as it was severly breaking the perl parsing. * I'm not sure why it was there in the first place but having it there is definitely doing more harm than good. Index: generic.conf =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/generic.conf,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- generic.conf 12 Apr 2009 16:55:42 -0000 1.21 +++ generic.conf 13 Apr 2009 10:09:09 -0000 1.22 @@ -554,6 +554,7 @@ }, 'langid' => '6', }, + 'Perl' => { # The following have been derived from the perlfunc and perlsyn documentation # for perl v5.10.0 @@ -623,7 +624,6 @@ '-x', '-X', 'y', '-z', ], 'spec' => [ - 'atom' => ('\$\W?', ''), 'atom' => ('\\\\.', ''), 'include' => ('\buse\s+', ';'), 'include' => ('\brequire\s+', ';'), @@ -640,6 +640,7 @@ 'langid' => '7', }, + 'Python' => { 'reserved' => [ 'def', 'print', 'del', 'pass', 'break', 'continue', @@ -663,6 +664,7 @@ }, 'langid' => '8', }, + 'php' => { 'reserved' => [ 'and', '$argv', '$argc', 'break', @@ -698,6 +700,7 @@ }, 'langid' => '9', }, + 'Make' => { 'reserved' => [], 'spec' => [ @@ -709,6 +712,7 @@ 'typemap' => { 'm' => 'macro', }, 'langid' => '10', }, + 'SQL' => { 'reserved' => [ @@ -1078,6 +1082,7 @@ }, 'langid' => '11', }, + 'VB' => { 'reserved' => [ 'AddHandler', 'AddressOf', 'Alias', 'And', @@ -1133,6 +1138,7 @@ }, 'langid' => '12', }, + 'shell' => { 'reserved' => [ 'for', 'do', 'done', 'case', 'esac', 'while', 'in', 'if', @@ -1142,4 +1148,5 @@ 'typemap' => { 'f' => 'function', }, 'langid' => '13', }, - } } + } +} |