diff options
| -rw-r--r-- | compiler/standardClient.ey | 2 | ||||
| -rw-r--r-- | examples/working-compiler/include.test | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/compiler/standardClient.ey b/compiler/standardClient.ey index 8d73236..fecbf97 100644 --- a/compiler/standardClient.ey +++ b/compiler/standardClient.ey @@ -1230,7 +1230,7 @@ } each ] =*:FLOAT { ==currentScope ==input - { .value currentScope sys .executeIdentifierScoped =currentScope } /TOKID defvd + { .value currentScope sys .executeIdentifierScoped =currentScope } /TOKID defvst { .value base10decode } /TOKINT defvd { .value "^(\\d+)(\\.(\\d*))?([eE](-)?(\\d+))?$" regex not { "Not in fact a float" die } rep diff --git a/examples/working-compiler/include.test b/examples/working-compiler/include.test index 3aa88f5..0b5cd64 100644 --- a/examples/working-compiler/include.test +++ b/examples/working-compiler/include.test @@ -1,8 +1,10 @@ "included" dump +scope dump + 1 0 add { -- 0 } /add deff -{ +{ < scope dump "/home/drahflow/elymas/examples/working-compiler/include.test" include -} rep +> } rep |
