Commit 92a0c8cb authored by Pardini, Lorenzo (lopa)'s avatar Pardini, Lorenzo (lopa)
Browse files

fix debug

parent f6687427
...@@ -396,13 +396,13 @@ if __name__ == "__main__": ...@@ -396,13 +396,13 @@ if __name__ == "__main__":
# print 'nameo', name # print 'nameo', name
# Production # Production
# mainFunction(mainFileDescription, metaInfoEnv, parserInfo, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext()) mainFunction(mainFileDescription, metaInfoEnv, parserInfo, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext())
# Debug # Debug
local_backend = LocalBackend(metaInfoEnv) # local_backend = LocalBackend(metaInfoEnv)
mainFunction(mainFileDescription, metaInfoEnv, parserInfo, outF=local_backend.fileOut, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext(), superBackend=local_backend) # mainFunction(mainFileDescription, metaInfoEnv, parserInfo, outF=local_backend.fileOut, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext(), superBackend=local_backend)
results = local_backend.results # results = local_backend.results
program_name = results["program_name"] # program_name = results["program_name"]
atom_labels = results["atom_labels"] # atom_labels = results["atom_labels"]
print(program_name) # print(program_name)
print(atom_labels) # print(atom_labels)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment