pysmi icon indicating copy to clipboard operation
pysmi copied to clipboard

[ pysmi version is 0.3.4] MibCompiler error when node name is 'as',the key world change to 'pysmi_as'

Open BugMakerLee opened this issue 1 year ago • 3 comments

my pysmi version is 0.3.4

the error code is in jsondoc.py

method: genCode(self, ast, symbolTable, **kwargs)

for sym in self.symbolTable[self.moduleName[0]]['_symtable_order']: if sym not in self._out: raise error.PySmiCodegenError('No generated code for symbol %s' % sym) the sym is nodeName that has been trans,but the name in self.out is not so the error happened

BugMakerLee avatar Dec 21 '23 08:12 BugMakerLee