summary refs log tree commit diff
path: root/Src/module.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-08-10 11:31:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-08-10 11:31:18 +0000
commitbbbaed2b5395e0a646dc618cd8c6bdd7dde25c81 (patch)
tree88bf10a027d3103814943c3bd80bc630457d46d5 /Src/module.c
parent92ee9324a96cd503c2ebc82cf84c03ddb08bf434 (diff)
downloadzsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.tar.gz
zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.tar.xz
zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.zip
29663: add $EPOCHREALTIME to zsh/datetime
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/module.c b/Src/module.c
index 219bdfa8e..a5a6029b4 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1081,6 +1081,11 @@ addparamdef(Paramdef d)
 	    pm->gsu.i = d->gsu ? (GsuInteger)d->gsu : &varinteger_gsu;
 	    break;
 
+	case PM_FFLOAT:
+	case PM_EFLOAT:
+	    pm->gsu.f = d->gsu;
+	    break;
+
 	case PM_ARRAY:
 	    pm->gsu.a = d->gsu ? (GsuArray)d->gsu : &vararray_gsu;
 	    break;