svn path=/nixpkgs/trunk/; revision=15477
This commit is contained in:
Marc Weber 2009-05-06 16:06:49 +00:00
parent 3cf455286f
commit 5d9d28fb1f

View File

@ -28,13 +28,13 @@
"--exclude=\.svn" "--exclude=\.svn"
"--exclude=\.hg" "--exclude=\.hg"
"--exclude=\.git" "--exclude=\.git"
"--exclude=\_darcs" "--exclude=\_darcs"
"--sort=yes" "--sort=yes"
]; ];
# actionscript # actionscript
asLang = [ asLang = [
"--langdef=ActionScript" "--langdef=ActionScript"
"--langmap=ActionScript:.as" "--langmap=ActionScript:.as"
"--regex-ActionScript=/function[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\1/f,function,functions/" "--regex-ActionScript=/function[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\1/f,function,functions/"
"--regex-ActionScript=/function[ \\t]+(set|get)[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\2/p,property,properties/" "--regex-ActionScript=/function[ \\t]+(set|get)[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\2/p,property,properties/"
@ -62,7 +62,7 @@
# find foo in "foo =", don't think we can do a lot better # find foo in "foo =", don't think we can do a lot better
nixLang = [ nixLang = [
"--langdef=NIX" "--langdef=NIX"
"--langmap=NIX:.nix" "--langmap=NIX:.nix"
"--regex-NIX=/\([^ \\t*]*\)[ \\t]*=/\\1/f/" "--regex-NIX=/\([^ \\t*]*\)[ \\t]*=/\\1/f/"
]; ];