diff options
author | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
commit | 371a407a49ddf0f2fe1d977018fcd0a009c86043 (patch) | |
tree | 322daf75a391bfc49026867250e10c424c4ec978 /new-luxc/source/luxc/lang/host | |
parent | c75e8aa8bc84af3b598292f3261354384b3cc80f (diff) |
- Re-named "import" to "import:".
Diffstat (limited to 'new-luxc/source/luxc/lang/host')
-rw-r--r-- | new-luxc/source/luxc/lang/host/jvm.lux | 6 | ||||
-rw-r--r-- | new-luxc/source/luxc/lang/host/jvm/def.lux | 12 | ||||
-rw-r--r-- | new-luxc/source/luxc/lang/host/jvm/inst.lux | 10 |
3 files changed, 14 insertions, 14 deletions
diff --git a/new-luxc/source/luxc/lang/host/jvm.lux b/new-luxc/source/luxc/lang/host/jvm.lux index 20dd4c37b..d30df3fd3 100644 --- a/new-luxc/source/luxc/lang/host/jvm.lux +++ b/new-luxc/source/luxc/lang/host/jvm.lux @@ -9,11 +9,11 @@ [host])) ## [Host] -(host.import org/objectweb/asm/MethodVisitor) +(host.import: org/objectweb/asm/MethodVisitor) -(host.import org/objectweb/asm/ClassWriter) +(host.import: org/objectweb/asm/ClassWriter) -(host.import #long org/objectweb/asm/Label +(host.import: #long org/objectweb/asm/Label (new [])) ## [Type] diff --git a/new-luxc/source/luxc/lang/host/jvm/def.lux b/new-luxc/source/luxc/lang/host/jvm/def.lux index 86f7999ba..c973f79c3 100644 --- a/new-luxc/source/luxc/lang/host/jvm/def.lux +++ b/new-luxc/source/luxc/lang/host/jvm/def.lux @@ -11,10 +11,10 @@ (// ["$t" type])) ## [Host] -(host.import #long java/lang/Object) -(host.import #long java/lang/String) +(host.import: #long java/lang/Object) +(host.import: #long java/lang/String) -(host.import org/objectweb/asm/Opcodes +(host.import: org/objectweb/asm/Opcodes (#static ACC_PUBLIC int) (#static ACC_PROTECTED int) (#static ACC_PRIVATE int) @@ -41,15 +41,15 @@ (#static V1_8 int) ) -(host.import org/objectweb/asm/FieldVisitor +(host.import: org/objectweb/asm/FieldVisitor (visitEnd [] void)) -(host.import org/objectweb/asm/MethodVisitor +(host.import: org/objectweb/asm/MethodVisitor (visitCode [] void) (visitMaxs [int int] void) (visitEnd [] void)) -(host.import org/objectweb/asm/ClassWriter +(host.import: org/objectweb/asm/ClassWriter (#static COMPUTE_MAXS int) (#static COMPUTE_FRAMES int) (new [int]) diff --git a/new-luxc/source/luxc/lang/host/jvm/inst.lux b/new-luxc/source/luxc/lang/host/jvm/inst.lux index 671a2bb3c..c3088ec7d 100644 --- a/new-luxc/source/luxc/lang/host/jvm/inst.lux +++ b/new-luxc/source/luxc/lang/host/jvm/inst.lux @@ -15,15 +15,15 @@ [//type]) ## [Host] -(host.import #long java/lang/Object) -(host.import #long java/lang/String) +(host.import: #long java/lang/Object) +(host.import: #long java/lang/String) (syntax: (declare {codes (p.many s.local-symbol)}) (|> codes (list/map (function (_ code) (` ((~' #static) (~ (code.local-symbol code)) (~' int))))) wrap)) -(`` (host.import org/objectweb/asm/Opcodes +(`` (host.import: org/objectweb/asm/Opcodes (#static NOP int) ## Conversion @@ -90,10 +90,10 @@ (~~ (declare RETURN IRETURN LRETURN DRETURN ARETURN)) )) -(host.import org/objectweb/asm/Label +(host.import: org/objectweb/asm/Label (new [])) -(host.import org/objectweb/asm/MethodVisitor +(host.import: org/objectweb/asm/MethodVisitor (visitCode [] void) (visitMaxs [int int] void) (visitEnd [] void) |