src/cmd/3d/features/syscall.sh.txt src/cmd/3d/features/syscall.sh-err.txt src/cmd/3d/features/syscall.sh-AST.txt
Expected filename after redirect operator Error parsing command after pipe ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm Error parsing commmand list in command sub Error reading command word Word parse error in CommandParser ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseDoGroup: failed to parse command line ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm
src/cmd/html/mm2bb.sh.txt src/cmd/html/mm2bb.sh-err.txt src/cmd/html/mm2bb.sh-AST.txt
Expected word type 119, got {OP_LPAREN "("} ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseDoGroup: failed to parse command line ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseFunctionBody: failed to parse command list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm
src/cmd/html/mm2html.sh.txt src/cmd/html/mm2html.sh-err.txt src/cmd/html/mm2html.sh-AST.txt
Traceback (most recent call last): File "/home/andy/git/oil/sketch/pysh.py", line 287, in sys.exit(main(sys.argv)) File "/home/andy/git/oil/sketch/pysh.py", line 261, in main node = c_parser.ParseFile() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1476, in ParseFile node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1141, in ParseCommand return self.ParseKshFunctionDef() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1067, in ParseKshFunctionDef body = self.ParseFunctionBody() File "/home/andy/git/oil/sketch/cmd_parse.py", line 996, in ParseFunctionBody node = self.ParseCommandList() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1459, in ParseCommandList node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1156, in ParseCommand node = self.ParseCompoundCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 983, in ParseCompoundCommand return self.ParseCase() File "/home/andy/git/oil/sketch/cmd_parse.py", line 881, in ParseCase items = self.ParseCaseList() File "/home/andy/git/oil/sketch/cmd_parse.py", line 855, in ParseCaseList item = self.ParseCaseItem() File "/home/andy/git/oil/sketch/cmd_parse.py", line 815, in ParseCaseItem node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1144, in ParseCommand node = self.ParseDBracket() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1106, in ParseDBracket bnode = b_parser.Parse() File "/home/andy/git/oil/sketch/bool_parse.py", line 148, in Parse node = self.ParseExpr() File "/home/andy/git/oil/sketch/bool_parse.py", line 178, in ParseExpr left = self.ParseTerm() File "/home/andy/git/oil/sketch/bool_parse.py", line 198, in ParseTerm left = self.ParseNegatedFactor() File "/home/andy/git/oil/sketch/bool_parse.py", line 215, in ParseNegatedFactor return self.ParseFactor() File "/home/andy/git/oil/sketch/bool_parse.py", line 279, in ParseFactor raise AssertionError("Unexpected token: %s" % self.cur_word) AssertionError: Unexpected token: None
src/cmd/html/mm2twiki.sh.txt src/cmd/html/mm2twiki.sh-err.txt src/cmd/html/mm2twiki.sh-AST.txt
Expected word type 119, got {OP_LPAREN "("} ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseDoGroup: failed to parse command line ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseFunctionBody: failed to parse command list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm
src/cmd/ie/ie.sh.txt src/cmd/ie/ie.sh-err.txt src/cmd/ie/ie.sh-AST.txt
ParseCommandTerm: Unexpected word {OP_LPAREN "("} ParseDoGroup: failed to parse command line ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm
src/cmd/INIT/ditto.sh.txt src/cmd/INIT/ditto.sh-err.txt src/cmd/INIT/ditto.sh-AST.txt
ParseCommandTerm: Unexpected word {OP_PIPEAMP "|&"} ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm
src/cmd/INIT/hurl.sh.txt src/cmd/INIT/hurl.sh-err.txt src/cmd/INIT/hurl.sh-AST.txt
Expected word type 119, got {OP_LPAREN "("} ParseCase: error parsing case list ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm ParseDoGroup: failed to parse command line ParseAndOr: ParsePipeline failed Error parsing AndOr in ParseCommandTerm
src/cmd/INIT/mktest.sh.txt src/cmd/INIT/mktest.sh-err.txt src/cmd/INIT/mktest.sh-AST.txt
Traceback (most recent call last): File "/home/andy/git/oil/sketch/pysh.py", line 287, in sys.exit(main(sys.argv)) File "/home/andy/git/oil/sketch/pysh.py", line 261, in main node = c_parser.ParseFile() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1476, in ParseFile node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1141, in ParseCommand return self.ParseKshFunctionDef() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1067, in ParseKshFunctionDef body = self.ParseFunctionBody() File "/home/andy/git/oil/sketch/cmd_parse.py", line 996, in ParseFunctionBody node = self.ParseCommandList() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1459, in ParseCommandList node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1156, in ParseCommand node = self.ParseCompoundCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 981, in ParseCompoundCommand return self.ParseIf() File "/home/andy/git/oil/sketch/cmd_parse.py", line 933, in ParseIf cond = self.ParseCommandList() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1459, in ParseCommandList node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1149, in ParseCommand node = self.ParseDParen() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1118, in ParseDParen anode = self.w_parser.ReadDParen() File "/home/andy/git/oil/sketch/word_parse.py", line 768, in ReadDParen anode = self._ReadArithExpr() File "/home/andy/git/oil/sketch/word_parse.py", line 708, in _ReadArithExpr anode = a_parser.Parse() File "/home/andy/git/oil/sketch/tdop.py", line 248, in Parse self.Next() File "/home/andy/git/oil/sketch/tdop.py", line 209, in Next raise ParseError() # use exceptions for now tdop.ParseError
src/cmd/INIT/package.sh.txt src/cmd/INIT/package.sh-err.txt src/cmd/INIT/package.sh-AST.txt
Traceback (most recent call last): File "/home/andy/git/oil/sketch/pysh.py", line 287, in sys.exit(main(sys.argv)) File "/home/andy/git/oil/sketch/pysh.py", line 261, in main node = c_parser.ParseFile() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1476, in ParseFile node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1381, in ParseCommandTerm and_or = self.ParseAndOr() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1253, in ParseAndOr left = self.ParsePipeline() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1194, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1156, in ParseCommand node = self.ParseCompoundCommand() File "/home/andy/git/oil/sketch/cmd_parse.py", line 983, in ParseCompoundCommand return self.ParseCase() File "/home/andy/git/oil/sketch/cmd_parse.py", line 881, in ParseCase items = self.ParseCaseList() File "/home/andy/git/oil/sketch/cmd_parse.py", line 855, in ParseCaseList item = self.ParseCaseItem() File "/home/andy/git/oil/sketch/cmd_parse.py", line 815, in ParseCaseItem node = self.ParseCommandTerm() File "/home/andy/git/oil/sketch/cmd_parse.py", line 1396, in ParseCommandTerm if not self._Peek(): return None File "/home/andy/git/oil/sketch/cmd_parse.py", line 65, in _Peek w = self.w_parser.ReadWord(self.next_lex_state) File "/home/andy/git/oil/sketch/word_parse.py", line 1124, in ReadWord word, need_more = self._Read(lex_state) File "/home/andy/git/oil/sketch/word_parse.py", line 1087, in _Read w = self._ReadCommandWord(lex_state=lex_state) File "/home/andy/git/oil/sketch/word_parse.py", line 873, in _ReadCommandWord self._Peek() File "/home/andy/git/oil/sketch/word_parse.py", line 97, in _Peek self.cur_token = self.lexer.Read(self.next_lex_state) File "/home/andy/git/oil/sketch/lexer.py", line 208, in Read t = self._Read(lex_state) File "/home/andy/git/oil/sketch/lexer.py", line 175, in _Read t = self.line_lexer.Read(lex_state) File "/home/andy/git/oil/sketch/lexer.py", line 88, in Read re_list, self.line, self.line_pos) File "/home/andy/git/oil/sketch/lexer.py", line 25, in FindLongestMatch m = regex.match(s, pos) # left-anchored KeyboardInterrupt