Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scripting|Info|libcore: No exception when parsing an embedded script
ScriptLex can now be told to stop parsing statements when it encounters a mismatched closing }. This occurs normally when a Doomsday Script block is parsed inside an Info document, because the Info parser has no way of knowing how long the embedded script is unless it actually parses it using ScriptLex. Previously ScriptLex just blindly tried to read statements until it hit an exception.
- Loading branch information
Showing
3 changed files
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters