Changeset 3098
- Timestamp:
- Oct 13, 2010 10:44:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
coopr.pyomo/trunk/coopr/pyomo/data/parse_datacmds.py
r3019 r3098 381 381 382 382 tabmodule = 'parse_table_datacmds' 383 outputdir = os.path.dirname(os.path.abspath(__file__))+os.sep384 383 385 384 ampl_dat_lexer = None … … 389 388 # The function that performs the parsing 390 389 # 391 def parse_data_commands(data=None, filename=None, debug=0 ):390 def parse_data_commands(data=None, filename=None, debug=0, outputdir=None): 392 391 393 392 global debugging 394 393 global ampl_dat_lexer 395 394 global ampl_dat_yaccer 395 396 if outputdir is None: 397 outputdir = os.path.dirname(os.path.abspath(__file__))+os.sep 396 398 397 399 # if the lexer/yaccer haven't been initialized, do so.
Note: See TracChangeset
for help on using the changeset viewer.