if inputfilename[-2:]=='.g': outputfilename = inputfilename[:-2]+'.py'
else: raise "Invalid Filename", outputfilename
- print ' SCONFIG ', join(outputfilename.split('/')[-5:], '/')
+ print ' SCONFIG ', join(outputfilename.split('/')[-4:], '/')
DIVIDER = '\n%%\n' # This pattern separates the pre/post parsers
preparser, postparser = None, None # Code before and after the parser desc