Author: sebastien.lelong
Date: Wed Nov 26 10:05:40 2008
New Revision: 597
Modified:
trunk/tools/jallib.py
Log:
case insensitive while check jal keyword, but do keep original case
Modified: trunk/tools/jallib.py
==============================================================================
--- trunk/tools/jallib.py (original)
+++ trunk/tools/jallib.py Wed Nov 26 10:05:40 2008
@@ -969,7 +969,7 @@
# remove strings between " and ', to focus only on jal keywords
onlyjalkw = re.sub("[\"|'].*[\"|']","",code)
- fields = onlyjalkw.strip().split()
+ fields = map(lambda x: x.lower(),onlyjalkw.strip().split())
do_postinc = do_preincpost = do_predec = False
if set(fields).intersection(set(POSTINC)):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---