1 |
Author: fauli |
2 |
Date: 2011-12-30 01:12:53 +0000 (Fri, 30 Dec 2011) |
3 |
New Revision: 1699 |
4 |
|
5 |
Modified: |
6 |
gentoo-syntax/keyword-generation.sh |
7 |
Log: |
8 |
gentoo-syntax: Even get function names with numbers in them |
9 |
|
10 |
|
11 |
Modified: gentoo-syntax/keyword-generation.sh |
12 |
=================================================================== |
13 |
--- gentoo-syntax/keyword-generation.sh 2011-12-30 01:10:33 UTC (rev 1698) |
14 |
+++ gentoo-syntax/keyword-generation.sh 2011-12-30 01:12:53 UTC (rev 1699) |
15 |
@@ -20,7 +20,7 @@ |
16 |
for eclass in ${ECLASSES} |
17 |
do |
18 |
echo '(defvar ebuild-mode-keywords-'${eclass//.eclass/} >>${TMPFILE} |
19 |
- echo -n \'\(\($(grep '^[a-Z_-.]*()' $(portageq portdir)/eclass/${eclass}|sed -e 's:\(^.*\)().*:"\1":g')\)>>${TMPFILE} |
20 |
+ echo -n \'\(\($(grep '^[a-Z_-.0-9]*()' $(portageq portdir)/eclass/${eclass}|sed -e 's:\(^.*\)().*:"\1":g')\)>>${TMPFILE} |
21 |
echo >>${TMPFILE} |
22 |
echo font-lock-type-face\)\)>>${TMPFILE} |
23 |
echo >>${TMPFILE} |