Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a problem with $o being allowed in Exits leading to crash
Fixes #175141885 and is the second half of, and thus also fixes #18
- Loading branch information
Showing
4 changed files
with
25 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
########## analyzePrintStatement ########## | ||
|
||
|
||
analyzePrintStatement.alan | ||
|
||
3. "We can'print a parameter like $1." | ||
=====> 1 | ||
|
||
*1* 551 E : String contains reference to a parameter that does not exist in | ||
this context. | ||
|
||
4. "But should also not allow $o." | ||
=====> 1 | ||
|
||
*1* 551 E : String contains reference to a parameter that does not exist in | ||
this context. | ||
|
||
|
||
2 error(s). | ||
No detected warnings. | ||
1 informational message(s). | ||
|
Binary file not shown.