[4.0] 7bef976 Use `Symbol' instead of `Object'

Federico G. Schwindt fgsch at lodoss.net
Thu Mar 13 10:24:31 CET 2014


commit 7bef97657858f646b0723bcd8a5f01a9d1496f94
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue Mar 11 11:59:38 2014 +0000

    Use `Symbol' instead of `Object'
    
    This matches the rest of the code.

diff --git a/bin/varnishtest/tests/v00016.vtc b/bin/varnishtest/tests/v00016.vtc
index 4314dce..b42106d 100644
--- a/bin/varnishtest/tests/v00016.vtc
+++ b/bin/varnishtest/tests/v00016.vtc
@@ -99,7 +99,7 @@ varnish v1 -vcl {
 	sub vcl_hash { if (2 == 3) { } }
 }
 
-varnish v1 -errvcl {Object not found: 'foo.bar'} {
+varnish v1 -errvcl {Symbol not found: 'foo.bar'} {
 	sub vcl_init {
 		new bar = foo.bar();
 	}
diff --git a/lib/libvcc/vcc_action.c b/lib/libvcc/vcc_action.c
index 4e3f12c..5ed9146 100644
--- a/lib/libvcc/vcc_action.c
+++ b/lib/libvcc/vcc_action.c
@@ -191,7 +191,7 @@ parse_new(struct vcc *tl)
 	ExpectErr(tl, ID);
 	sy2 = VCC_FindSymbol(tl, tl->t, SYM_OBJECT);
 	if (sy2 == NULL) {
-		VSB_printf(tl->sb, "Object not found: ");
+		VSB_printf(tl->sb, "Symbol not found: ");
 		vcc_ErrToken(tl, tl->t);
 		VSB_printf(tl->sb, " at ");
 		vcc_ErrWhere(tl, tl->t);



More information about the varnish-commit mailing list