[Mumps2Py:] [121] code clean-up.

[ Thread Index | Date Index | More lists.mumps2py.org/discuss Archives ]


Revision: 121
Author:   pgallot
Date:     2008-02-21 22:03:08 +0000 (Thu, 21 Feb 2008)

Log Message:
-----------
code clean-up.

Modified Paths:
--------------
    trunk/mumps2py_ui.pyw


Modified: trunk/mumps2py_ui.pyw
===================================================================
--- trunk/mumps2py_ui.pyw	2008-02-21 22:02:15 UTC (rev 120)
+++ trunk/mumps2py_ui.pyw	2008-02-21 22:03:08 UTC (rev 121)
@@ -155,7 +155,7 @@
     def __display_decomposed(self, a_module):
         """displays an intermediate decomposition of the Mumps code"""
         decomposed_window = self.info_window()
-        for token in a_module.TokenList:
+        for token in a_module.tokenized():
             decomposed_window.insert(END, str(token) + '\n')
 
     def parse_fromlinemodule(self, popup):
@@ -238,7 +238,7 @@
                     print the_module.mod_name
                     if the_module.tokenlist_isempty():
                         mumps2py.parseMumps(the_module, input_file)
-                    for token in the_module.TokenList:
+                    for token in the_module.tokenized():
                         token.count_subtokens(toks)
                     the_module.empty_tokenlist() # keep memory usage down
             except mumps2py.ParseError, err:


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/