Permalink
Browse files

subModName definition initialized in the correct location

  • Loading branch information...
1 parent 82c1872 commit e1512d6d8b28bc64a357e34c7ef5d8dc0e7875a0 Adam Moore committed Sep 17, 2008
Showing with 4 additions and 4 deletions.
  1. +1 −1 bin/example.bat
  2. +3 −3 bin/yuidoc_parse.py
View
@@ -22,5 +22,5 @@ REM The location of the template files. Any subdirectories here will be copied
REM verbatim to the destination directory.
SET template="%yuidoc_home%\template"
-python %yuidoc_home%\bin\yuidoc.py %parser_in% -p %parser_out% -o %generator_out% -t %template%
+%yuidoc_home%\bin\yuidoc.py %parser_in% -p %parser_out% -o %generator_out% -t %template%
View
@@ -82,6 +82,7 @@ def parseDir(path):
_mkdir(self.outputdir)
self.extension = extension
self.script=""
+ self.subModName = False
self.deferredModuleClasses=[]
self.deferredModuleFiles=[]
self.globals={}
@@ -459,7 +460,6 @@ def parseModule(tokenMap):
log.info("\n\n%s:\n\n%s\n" %("tokenMap", unicode(tokenMap)))
target = None
- self.subModName = False
if not const.MODULES in self.data: self.data[const.MODULES] = {}
for module in tokenMap[const.MODULE]:
@@ -527,8 +527,8 @@ def parseModule(tokenMap):
if const.MODULE in tokenMap:
target, tokenMap = parseModule(tokenMap)
- if not self.subModName:
- self.subModName = None
+ # if not 'subModName' in self:
+ # self.subModName = None
# log.warn("Here");

0 comments on commit e1512d6

Please sign in to comment.