[Lxr-commits] CVS: lxr/templates filetype.conf,1.4,1.5
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2013-04-12 15:13:20
|
Update of /cvsroot/lxr/lxr/templates In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16164/templates Modified Files: filetype.conf Log Message: filetype.conf, Lang/generic.conf Various improvements in language descriptions Enable C and Awk parsers Index: filetype.conf =================================================================== RCS file: /cvsroot/lxr/lxr/templates/filetype.conf,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- filetype.conf 11 Jan 2013 12:22:33 -0000 1.4 +++ filetype.conf 12 Apr 2013 15:13:16 -0000 1.5 @@ -38,7 +38,7 @@ 'asm' => [ 'Asm' , '\.((?i)asm|s|A51|29[kK]|[68][68][kKsSxX]|x[68][68])$' - , 'LXR::Lang::Generic' + , 'LXR::Lang::C' , 4 ] # , @@ -47,13 +47,13 @@ # , '\.as[ap]$' # , # ] -# , -# 'awk' -# [ 'Awk' -# , '\.[gm]?awk$' -# , 'LXR::Lang::Generic' -# , -# ] + , + 'awk' => + [ 'Awk' + , '\.[gm]?awk$' + , 'LXR::Lang::Generic' + , 2 + ] # , # 'basic' # [ 'Basic' @@ -66,14 +66,14 @@ 'C' => [ 'C' , '\.c$|\.pc$' - , 'LXR::Lang::Generic' + , 'LXR::Lang::C' , 4 ] , 'C++' => [ 'C++' , '\.C$|((?i)\.c\+\+$|\.cc$|\.cpp$|\.cxx$|\.h$|\.hh$|\.hpp?$|\.hxx$|\.h\+\+$)' #' - , 'LXR::Lang::Generic' + , 'LXR::Lang::C' , 4 ] , |