aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/parser/said.cpp
AgeCommit message (Collapse)Author
2010-07-28SCI: Fix using the parser in SCI Fan GamesMatthew Hoops
Get a pointer to the said spec instead of copying to a buffer. The fan games use a said spec with size < 64. Also, make said() take a const pointer as the spec cannot change. Thanks to waltervn and wjp. svn-id: r51432
2010-07-24SCI: added said spec dump ability to logkernelMartin Kiewitz
svn-id: r51242
2010-07-22SCI: Add more parser test casesWillem Jan Palenstijn
svn-id: r51167
2010-07-21SCI: Rewrite said spec handling.Willem Jan Palenstijn
We now use a manual parser instead of a bison-generated one, and the new code to match said trees with parse trees matches sierra's more closely. Also change the parse/spec tree nodes to use direct pointers to their child nodes to make it more convenient to manipulate the trees. This has a high potential for regressions. svn-id: r51099
2010-07-18SCI: Work on optional expressions in said rules.Willem Jan Palenstijn
This fixes a number of said specs in Iceman, but has a good chance of introducing regressions since it's fairly invasive. It also removes the need for the hack in r50958. svn-id: r50992
2010-07-17SCI: add hack for iceman to skip [!*] in kSaid, fixes green board / depth ↵Martin Kiewitz
affirmative not recognized svn-id: r50958
2010-06-01The parser vocabulary remains static throughout the game, thus it has been ↵Filippos Karapetis
removed from the engine state svn-id: r49373
2010-02-10SCI: Update said.y to match changes made to said.cpp; regenerate said.cpp ↵Max Horn
using 'bison -l -o said.cpp said.y' svn-id: r48033
2010-01-23- Moved all of the parser-related variables inside the Vocabulary classFilippos Karapetis
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms) - The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser svn-id: r47483
2010-01-23Separated the parser codeFilippos Karapetis
svn-id: r47480