The ply 2.5 documentation states that

"Since table construction is relatively expensive (especially for
large grammars), the resulting parsing table is written to the current
directory in a file called parsetab.py. In addition, a debugging file
called parser.out is created. On subsequent executions, yacc will
reload the table from parsetab.py unless it has detected a change in
the underlying grammar (in which case the tables and parsetab.py file
are regenerated)."

However, I've recently noticed that the parsetab.py file gets
generated everytime.  I looked through the ply source, and it looks
like the lr_write_tables() function gets called without reference to
the state of the grammar.

Am I missing something, or does the documentation need to be updated?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to