Translating gen_ver.sh
|
Traceback (most recent call last):
File "/home/andy/git/oilshell/oil/bin/oil.py", line 380, in <module>
sys.exit(main(sys.argv))
File "/home/andy/git/oilshell/oil/bin/oil.py", line 324, in main
return AppBundleMain(argv)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 296, in AppBundleMain
return OshCommandMain(main_argv)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 177, in OshCommandMain
osh2oil.PrintAsOil(arena, node)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
self.DoCommand(child, local_symbols, at_top_level=at_top_level)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
self.DoRedirect(r, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
raise AssertionError(node.__class__.__name__)
AssertionError: redir
|
Translating gen_chlog.sh
|
Traceback (most recent call last):
File "/home/andy/git/oilshell/oil/bin/oil.py", line 380, in <module>
sys.exit(main(sys.argv))
File "/home/andy/git/oilshell/oil/bin/oil.py", line 324, in main
return AppBundleMain(argv)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 296, in AppBundleMain
return OshCommandMain(main_argv)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 177, in OshCommandMain
osh2oil.PrintAsOil(arena, node)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
self.DoCommand(child, local_symbols, at_top_level=at_top_level)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 648, in DoCommand
self.DoShAssignment(node, at_top_level, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 536, in DoShAssignment
self.DoWordAsExpr(pair.rhs, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 956, in DoWordAsExpr
self.DoWordInCommand(node, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1111, in DoWordInCommand
self.DoWordPart(part, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1290, in DoWordPart
self.DoCommand(node.child, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
self.DoRedirect(r, local_symbols)
File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
raise AssertionError(node.__class__.__name__)
AssertionError: redir
|