summaryrefslogtreecommitdiffstats
path: root/opcode_list.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-10-20 00:09:20 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2012-10-20 00:09:20 +0100
commitafec2544f1793d11c47356c32ef74ce8c4035263 (patch)
tree91bbf823e4ae9d1ea212cd2b3c27cab26eef0b47 /opcode_list.h
parent6828ec9852583e1b1a84878235e9d61ab99930eb (diff)
A string interpolation syntax that I don't hate. Also tests.
You can interpolate values into strings using \(this syntax), e.g. "best \("str" + "ing") ever"
Diffstat (limited to 'opcode_list.h')
-rw-r--r--opcode_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcode_list.h b/opcode_list.h
index 30e7203d..306373fb 100644
--- a/opcode_list.h
+++ b/opcode_list.h
@@ -18,6 +18,7 @@ OP(INSERT, NONE, 4, 2)
OP(ASSIGN, VARIABLE, 3, 0)
OP(CALL_BUILTIN_1_1, CFUNC, 1, 1)
+OP(CALL_BUILTIN_2_1, CFUNC, 2, 1)
OP(CALL_BUILTIN_3_1, CFUNC, 3, 1)
OP(CALL_1_1, UFUNC, 1, 1)