Ignore:
Timestamp:
03/27/12 18:30:52 (2 years ago)
Author:
Janez Demšar <janez.demsar@…>
Branch:
default
Message:

Added 'objects' as a recognized attribute of IntList (fixes #1156)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/pyxtract/defvectors.py

    r8042 r10668  
    161161  classes[listname] = ClassDefinition(listname, "TOrange") 
    162162 
    163 coutf.write('#include "lib_vectors.px"\n') 
     163coutf.write("""// I hate to do this for *all* IntLists, but see no other way around 
     164RECOGNIZED_ATTRIBUTES(IntList, "objects"); 
     165 
     166#include "lib_vectors.px" 
     167""") 
    164168 
    165169outf.close() 
Note: See TracChangeset for help on using the changeset viewer.