r5003 - trunk/varnish-cache/lib/libvcl
phk at varnish-cache.org
phk at varnish-cache.org
Sun Jul 4 22:06:37 CEST 2010
Author: phk
Date: 2010-07-04 22:06:37 +0200 (Sun, 04 Jul 2010)
New Revision: 5003
Modified:
trunk/varnish-cache/lib/libvcl/vcc_action.c
trunk/varnish-cache/lib/libvcl/vcc_compile.h
trunk/varnish-cache/lib/libvcl/vcc_parse.c
trunk/varnish-cache/lib/libvcl/vcc_var.c
Log:
Comment out unused SIZE type
Modified: trunk/varnish-cache/lib/libvcl/vcc_action.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_action.c 2010-07-04 19:55:12 UTC (rev 5002)
+++ trunk/varnish-cache/lib/libvcl/vcc_action.c 2010-07-04 20:06:37 UTC (rev 5003)
@@ -127,7 +127,7 @@
vcc_NextToken(tl);
switch (vp->fmt) {
case INT:
- case SIZE:
+// case SIZE:
case TIME:
case DURATION:
// case FLOAT:
Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.h
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.h 2010-07-04 19:55:12 UTC (rev 5002)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.h 2010-07-04 20:06:37 UTC (rev 5003)
@@ -113,7 +113,8 @@
BACKEND,
BOOL,
INT,
- SIZE,
+ // SIZE,
+ // FLOAT,
TIME,
DURATION,
STRING,
Modified: trunk/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_parse.c 2010-07-04 19:55:12 UTC (rev 5002)
+++ trunk/varnish-cache/lib/libvcl/vcc_parse.c 2010-07-04 20:06:37 UTC (rev 5003)
@@ -342,7 +342,7 @@
vcc_NextToken(tl);
switch (vp->fmt) {
case INT: L(tl, vcc_Cond_Int(vp, tl)); break;
- case SIZE: L(tl, vcc_Cond_Int(vp, tl)); break;
+ // case SIZE: L(tl, vcc_Cond_Int(vp, tl)); break;
case BOOL: L(tl, vcc_Cond_Bool(vp, tl)); break;
case IP: L(tl, vcc_Cond_Ip(vp, tl)); break;
case STRING: L(tl, vcc_Cond_String(vp, tl)); break;
Modified: trunk/varnish-cache/lib/libvcl/vcc_var.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_var.c 2010-07-04 19:55:12 UTC (rev 5002)
+++ trunk/varnish-cache/lib/libvcl/vcc_var.c 2010-07-04 20:06:37 UTC (rev 5003)
@@ -144,10 +144,12 @@
vcc_RTimeVal(tl, &d);
ERRCHK(tl);
Fb(tl, 0, "%g", d);
+#if 0
} else if (vp->fmt == SIZE) {
vcc_SizeVal(tl, &d);
ERRCHK(tl);
Fb(tl, 0, "%g", d);
+#endif
#if 0
} else if (vp->fmt == FLOAT) {
Fb(tl, 0, "%g", vcc_DoubleVal(tl));
More information about the varnish-commit
mailing list