forked from rebolsource/r3
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Cause an error in PARSE for invalid args to TO
Previously, PARSE over string input would silently ignore invalid arguments to TO. With this fix, invalid args to TO correctly cause an error: ``` >> parse "foo" [to 1.2] ** Script error: PARSE - invalid rule or usage of rule: to ** Where: parse ** Near: parse "foo" [to 1.2] ``` The problem was identified via static code analysis with Cppcheck. (cherry picked from rebol#204) fixes: Oldes/Rebol-issues#2129
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 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