salspaugh/splparser — pull request #92 by keroro824 (2013-05-09 07:50:55+00:00)
Title: left with a strange problem

BeidiChen:splparser BeidiChen$ splparse 'loadjob savedsearch="admin:search:MySavedSearch"'
Generating LALR tables
Traceback (most recent call last):
File "", line 1, in
File "splparser/__init__.py", line 12, in parse
return parser.parse(data)
File "splparser/parser.py", line 77, in parse
parsetree = self.parser.parse(data, lexer=self.lexer, debug=self.log)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ply/yacc.py", line 261, in parse
return self.parsedebug(input,lexer,debug,tracking,tokenfunc)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ply/yacc.py", line 421, in parsedebug
p.callable(pslice)
File "splparser/decorators.py", line 21, in helper
raise TerminatingSPLSyntaxError(e.message)
splparser.exceptions.TerminatingSPLSyntaxError

The problem seems to be "savedsearch". I put it in the loadjob_opt, but it cannot even be parsed.