Changed API argument from InitialSymTbl to InitialSymTable.
1 parent 0daf6cd commit fa51c451195e3b0b0da25d4b827c079a08cf63e3
@tundra tundra authored on 8 Apr 2004
Showing 1 changed file
View
10
tconfpy.py
 
# Program Information
 
PROGNAME = "tconfpy"
RCSID = "$Id: tconfpy.py,v 1.164 2004/04/08 15:51:26 tundra Exp $"
RCSID = "$Id: tconfpy.py,v 1.165 2004/04/08 17:11:09 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
#----------------------------------------------------------#
# Public API To Module #
#----------------------------------------------------------#
 
def ParseConfig(cfgfile, InitialSymTbl={}, AllowNewVars=True, AllowNewNamespaces=True, Debug=False, LiteralVars=False):
def ParseConfig(cfgfile, InitialSymTable={}, AllowNewVars=True, AllowNewNamespaces=True, Debug=False, LiteralVars=False):
 
global DebugMsgs, ErrMsgs, WarnMsgs, LiteralLines
global CondStack, ALLOWNEWVAR, ALLOWNEWNS, DEBUG, SymTable, TotalLines, LITERALVARS, INLITERAL
 
# Add any passed symbols to the SymbolTable
 
deserror = False
for sym in InitialSymTbl:
 
des = InitialSymTbl[sym]
for sym in InitialSymTable:
 
des = InitialSymTable[sym]
 
# Make sure a valid descriptor was passed for each variable
 
desok = True