Explicit use of InitialSymTable in API call.
Reformatting of API call for readability.
1 parent 34a451e commit 29bf5a5f6fe919be9e1476b98e9fc6cba2976fe1
@tundra tundra authored on 8 Apr 2004
Showing 1 changed file
View
14
test-tc.py
# test-tc.py - A Test Driver For The 'tconfpy' Configuration File Parser
# Copyright (c) 2003-2004 TundraWare Inc. All Rights Reserved.
 
PROGNAME = "tconfpy Test Driver"
RCSID = "$Id: test-tc.py,v 1.129 2004/04/07 08:32:50 tundra Exp $"
RCSID = "$Id: test-tc.py,v 1.130 2004/04/08 17:15:41 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
# Everything else presumed to be a configuration file
else:
retval = ParseConfig(fn, st, AllowNewVars=ALLOWVAR, AllowNewNamespaces=ALLOWNS, Debug=DEBUG, LiteralVars=LITVARS)
retval = ParseConfig(fn, InitialSymTable=st,
AllowNewVars=ALLOWVAR,
AllowNewNamespaces=ALLOWNS,
Debug=DEBUG,
LiteralVars=LITVARS
)
 
if retval.Errors:
print "Errors Were Found In '%s'!" % fn
else: