-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define macro now ignores usage inside string quotes correctly.
- Loading branch information
Showing
3 changed files
with
22 additions
and
1 deletion.
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,14 @@ | ||
Version 1.9.9 | ||
|
||
Fixed a bug where using any define macro names inside of strings would attempt to evaluate them instead of leaving them as string content. | ||
|
||
For example: | ||
|
||
``` | ||
define real(x) := int_to_real(x) | ||
on init | ||
message("Ready for real-time audio!") | ||
end on | ||
``` | ||
|
||
This code would attempt to evaluate real as a function and cause the compiler to error due to lack of arguments. |