Commits

Ronald Oussoren committed 381cf60

Allow more variants of the availability macro's in function definitions.

  • Participants
  • Parent commits aacd3ae
  • Branches pyobjc-ancient

Comments (0)

Files changed (1)

File Scripts/CodeGenerators/func_collector.py

 
 def process_file(outfp, filename, match_prefix='', ignore_list=()):
 
-    MATCH_RE=re.compile('%(match_prefix)s(.+\s+.+\([^);{]+\))\s*(?:AVAILABLE_MAC_OS_X_VERSION_10_\d_AND_LATER\s*)?(?:[;{]|$)'%{
+    MATCH_RE=re.compile('%(match_prefix)s(.+\s+.+\([^);{]+\))\s*(?:AVAILABLE_MAC_OS_X_VERSION_10_\d_AND_LATER\w*\s*)?(?:[;{]|$)'%{
             'match_prefix':match_prefix, 'IDENT':IDENT})
 
     fp = open(filename, 'r')