mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Fixed the awful rule110 implementation
This commit is contained in:
@@ -1592,7 +1592,8 @@ static bool execIndex(Interpreter* interpreter, bool assignIntermediate) {
|
||||
}
|
||||
|
||||
if (!IS_ARRAY(compound) && !IS_DICTIONARY(compound) && !IS_STRING(compound)) {
|
||||
interpreter->errorOutput("Unknown compound found in indexing notation\n");
|
||||
interpreter->errorOutput("Unknown compound found in indexing notation: ");
|
||||
printLiteralCustom(compound, interpreter->errorOutput);
|
||||
freeLiteral(third);
|
||||
freeLiteral(second);
|
||||
freeLiteral(first);
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#define TOY_VERSION_PATCH 5
|
||||
#define TOY_VERSION_BUILD __DATE__ " " __TIME__
|
||||
|
||||
//NOTE: I don't know why the time headers are here, need to try moving them back to the correct spots again
|
||||
//platform exports/imports
|
||||
#if defined(__linux__)
|
||||
#define TOY_API extern
|
||||
|
||||
Reference in New Issue
Block a user