aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/host/php.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-14 03:23:38 -0400
committerEduardo Julian2018-07-14 03:23:38 -0400
commit1137f61adeb416d89436a6849a07f28c8f329fc1 (patch)
treefd2eb9c78b2df7116fcb3620e04f6d0eb26410e3 /new-luxc/source/luxc/lang/host/php.lux
parent0c0472862f5c1e543e6c5614a4cd112ac7d4cc13 (diff)
Switched to using new bit syntax in new-luxc.
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/host/php.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/lang/host/php.lux b/new-luxc/source/luxc/lang/host/php.lux
index 34c7c0535..6ab97ee52 100644
--- a/new-luxc/source/luxc/lang/host/php.lux
+++ b/new-luxc/source/luxc/lang/host/php.lux
@@ -61,8 +61,8 @@
(-> Var Argument)
(|>> [<reference?>]))]
- [parameter false]
- [reference true]
+ [parameter #0]
+ [reference #1]
)
(def: arguments
@@ -83,8 +83,8 @@
(def: #export bool
(-> Bit Computation)
- (|>> (case> true "true"
- false "false")
+ (|>> (case> #0 "false"
+ #1 "true")
:abstraction))
(def: #export int