Ignore:
Timestamp:
Sep 19, 2012, 9:55:33 PM (7 years ago)
Author:
ksherdy
Message:

Assume parameters are struct type. Assume parameters have the same name as struct name but with a leading lower case letter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablogen.py

    r2380 r2381  
    224224            else: self.write(", ")
    225225            self.write("struct ")   #Assume struct type
     226            self.write(str(a.id[0]).upper() + str(a.id[1:]) + " ")
    226227            self.dispatch(a),
    227228            if d:
     
    351352if __name__ == '__main__':   
    352353    infile = '../proto/parabix2/parabix2_pablo.py'
    353      
     354    #infile = '../proto/parabix2/parse_CtCDPI_prescan.py'
    354355    s = ast.parse(readfile(infile)) 
    355356     
Note: See TracChangeset for help on using the changeset viewer.