Translating package.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 777, in DoCommand
self.cursor.PrintUntil(rparen_spid)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
span = self.arena.GetLineSpan(span_id)
File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
assert span_id >= 0, span_id
AssertionError: -1
|
Translating crossexec.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 777, in DoCommand
self.cursor.PrintUntil(rparen_spid)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
span = self.arena.GetLineSpan(span_id)
File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
assert span_id >= 0, span_id
AssertionError: -1
|
Parsing ditto.sh
|
Line 183 of '/home/andy/git/other/ast/src/cmd/INIT/ditto.sh'
else (cd $src_dir && read && eval "${tw[@]}") 2>&1 |&
^~
Expected word type Right_FuncDef, got (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:cd span_id:1114))])
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing command after pipe
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating ditto.sh
|
Line 183 of '/home/andy/git/other/ast/src/cmd/INIT/ditto.sh'
else (cd $src_dir && read && eval "${tw[@]}") 2>&1 |&
^~
Expected word type Right_FuncDef, got (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:cd span_id:1114))])
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing command after pipe
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Parsing rt.sh
|
Line 278 of '/home/andy/git/other/ast/src/cmd/INIT/rt.sh'
'## ---'*(-)'--- ##')
^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1896))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing command after pipe
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating rt.sh
|
Line 278 of '/home/andy/git/other/ast/src/cmd/INIT/rt.sh'
'## ---'*(-)'--- ##')
^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1896))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing command after pipe
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating mamprobe.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 695, in DoCommand
self.DoCommand(node.body, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 652, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 777, in DoCommand
self.cursor.PrintUntil(rparen_spid)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
span = self.arena.GetLineSpan(span_id)
File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
assert span_id >= 0, span_id
AssertionError: -1
|
Parsing hurl.sh
|
Line 99 of '/home/andy/git/other/ast/src/cmd/INIT/hurl.sh'
*:+([0-9]))
^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:510))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating hurl.sh
|
Line 99 of '/home/andy/git/other/ast/src/cmd/INIT/hurl.sh'
*:+([0-9]))
^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:510))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Parsing regress.sh
|
Line 235 of '/home/andy/git/other/ast/src/cmd/INIT/regress.sh'
!($KEEP)) j="$j $i" ;;
^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1432))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating regress.sh
|
Line 235 of '/home/andy/git/other/ast/src/cmd/INIT/regress.sh'
!($KEEP)) j="$j $i" ;;
^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1432))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Parsing mktest.sh
|
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 0 of '<unknown>'
<no position info for token>
Error reading arith word in ArithParser
---
Line 0 of '<unknown>'
<no position info for token>
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing dparen statement
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^~
Error parsing ((
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating mktest.sh
|
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 0 of '<unknown>'
<no position info for token>
Error reading arith word in ArithParser
---
Line 0 of '<unknown>'
<no position info for token>
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing dparen statement
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
if (( ${#STATE.RESET[@]} ))
^~
Error parsing ((
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating iffe.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
self.DoCommand(child, new_local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 777, in DoCommand
self.cursor.PrintUntil(rparen_spid)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
span = self.arena.GetLineSpan(span_id)
File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
assert span_id >= 0, span_id
AssertionError: -1
|