diff options
| author | Drahflow <drahflow@gmx.de> | 2013-07-21 19:41:15 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-07-21 19:41:15 +0200 |
| commit | 81fcdfadb2e396183ff30f6e8e6b03b7df004dc4 (patch) | |
| tree | 788fa7bc99b4d1c382fd1b64a1f9026c857fea56 /compiler/elymasGlobalSys.ey | |
| parent | 4a46857667d2ddfd43cf9b6218ff3399ceb500c9 (diff) | |
implemented include
Diffstat (limited to 'compiler/elymasGlobalSys.ey')
| -rw-r--r-- | compiler/elymasGlobalSys.ey | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/compiler/elymasGlobalSys.ey b/compiler/elymasGlobalSys.ey index 9d20c35..01ca564 100644 --- a/compiler/elymasGlobalSys.ey +++ b/compiler/elymasGlobalSys.ey @@ -1,7 +1,24 @@ < "sys" enterSubScope + < + # handle an identifier in the current scope according to current quote level + # 0 -> identifier to handle + [[ + 8 /r15 :subqImm8Reg + /r15 :popqMem + + internalExecuteIdentifier /rax :movqImmReg + /rax :callqReg + + /r15 :pushqMem + 8 /r15 :addqImm8Reg + :retn + ]] /eyexecuteIdentifier defv + > _ ==globalFunctions { defv }' ::allocateOffsetStruct + [ + globalFunctions keys eydeff { | }' createScopeEntries createScopeExtensionEntries ] :execute |
