>> Which parser? The lex/yacc one or the python one? > > The Python one. > > If it's the >> former, I'll try to fix it. If it's the latter, that parser has to be >> run, otherwise SCons won't know what files are being generated. I can >> check to see if there is any real performance impact from doing that, >> and if so, I could store the list of files in an intermediate file and >> only regenerate that intermediate file if one of the .slicc or .sm >> files changes. > > I'm confused...are both parser.yy and parser.py used? Yeah. Unfortunately. This is part of my motivation for porting slicc to python. Keeping two grammars up to date seems like a bad policy. Either I need to figure out how to hack what I've done into the C++ slicc or I think I should finish porting slicc to python. I'm personally leaning towards the latter for the reasons I've enumerated in the other e-mail.
Nate _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
