summaryrefslogtreecommitdiff
path: root/src/texec/worldbuilder.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/texec/worldbuilder.go')
-rw-r--r--src/texec/worldbuilder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/texec/worldbuilder.go b/src/texec/worldbuilder.go
index 20976ac..2f71e79 100644
--- a/src/texec/worldbuilder.go
+++ b/src/texec/worldbuilder.go
@@ -69,7 +69,7 @@ func modDefVars(n tparse.Node, t TType) ([]string, []TVariable) {
s = append(s, n.Sub[i].Sub[0].Data.Data)
v = append(v, TVariable{t, getLiteral(n.Sub[i].Sub[1], t)})
} else {
- errOut("Unexpected thing in definition. Expected '=' or DEFWORD.", n.Sub[i].Data)
+ errOut(fmt.Sprintf("Unexpected thing in definition. Expected '=' or DEFWORD. %v", n.Sub[i].Data))
}
}
return s, v