summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-07-30 14:43:53 -0400
committergumi <git@gumi.ca>2018-07-30 14:47:16 -0400
commit4118b1135eb79c211aafb6408a4ad8cf9ce09b02 (patch)
treeb24c10e28656f91336ffc08def4e41ddca818ef2 /npc
parent87eb2f98518a63a3f640b97ad62c8b18a5d6b946 (diff)
downloadhercules-4118b1135eb79c211aafb6408a4ad8cf9ce09b02.tar.gz
hercules-4118b1135eb79c211aafb6408a4ad8cf9ce09b02.tar.bz2
hercules-4118b1135eb79c211aafb6408a4ad8cf9ce09b02.tar.xz
hercules-4118b1135eb79c211aafb6408a4ad8cf9ce09b02.zip
push constants as C_NAME in the script buffer
Diffstat (limited to 'npc')
-rw-r--r--npc/dev/test.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/dev/test.txt b/npc/dev/test.txt
index 036a94916..bdbc52ed4 100644
--- a/npc/dev/test.txt
+++ b/npc/dev/test.txt
@@ -762,7 +762,7 @@ function script HerculesSelfTestHelper {
callsub(OnCheck, "Getdatatype (numeric variable)", getdatatype(.@x), DATATYPE_INT | DATATYPE_VAR);
callsub(OnCheck, "Getdatatype (string variable)", getdatatype(.@x$), DATATYPE_STR | DATATYPE_VAR);
callsub(OnCheck, "Getdatatype (label)", getdatatype(OnTestGetdatatype), DATATYPE_LABEL);
- //callsub(OnCheck, "Getdatatype (constant)", getdatatype(DATATYPE_CONST), DATATYPE_CONST); // FIXME
+ callsub(OnCheck, "Getdatatype (constant)", getdatatype(DATATYPE_CONST), DATATYPE_INT | DATATYPE_CONST);
callsub(OnCheck, "Getdatatype (returned integer)", getdatatype(callsub(OnTestReturnValue, 5)), DATATYPE_INT);
callsub(OnCheck, "Getdatatype (returned string)", getdatatype(callsub(OnTestReturnValue, "foo")), DATATYPE_STR | DATATYPE_CONST);
callsub(OnCheck, "Getdatatype (getarg default value)", callsub(OnTestGetdatatypeDefault), DATATYPE_INT);