summaryrefslogtreecommitdiff
path: root/parse/trait.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-30 21:45:49 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-30 21:51:04 -0700
commit627ef0fa8e965ac37ba79db1eae7e7d6b78c53b7 (patch)
tree4dbab77cb83962b3414752dc6e3aae5e3da69720 /parse/trait.def
parentbfb7664b7f66e0d9e406672fa92bdee35bced70b (diff)
downloadmc-627ef0fa8e965ac37ba79db1eae7e7d6b78c53b7.tar.gz
Add support for duplicating functions.
Diffstat (limited to 'parse/trait.def')
-rw-r--r--parse/trait.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/trait.def b/parse/trait.def
index bdc720e..627ca9c 100644
--- a/parse/trait.def
+++ b/parse/trait.def
@@ -4,3 +4,4 @@ Tc(Tcint, "integral") /* behaves like an int, defaults to int as fallb
Tc(Tcfloat, "floating") /* behaves like a float, defaults to float as fallback */
Tc(Tcidx, "indexable") /* indexable */
Tc(Tcslice, "sliceable") /* sliceable */
+Tc(Tcfunc, "function") /* behaves like a function */