diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-01-28 20:09:24 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-01-28 20:09:24 -0500 |
commit | cf2c5f2a7f8dfd7d93362fa6669ee4aecbfad4d0 (patch) | |
tree | ec7ea6a311b31adbd1957a7a8e4d756ed499938b /src/texec/worldbuilder.go | |
parent | c1a0c728da2a8f4cb9d077e41da32806864f3b53 (diff) |
[EVAL] Find and return relative module data
Diffstat (limited to 'src/texec/worldbuilder.go')
-rw-r--r-- | src/texec/worldbuilder.go | 2 |
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 |