diff --git a/markut.go b/markut.go index 1c73b91..572a27d 100644 --- a/markut.go +++ b/markut.go @@ -295,6 +295,7 @@ func evalMarkutFile(path string) (context EvalContext, ok bool) { return } n := len(argsStack) + // TODO: the location of the dupped value should be the location of the "dup" token argsStack = append(argsStack, argsStack[n-1]) case "chapter": args, err, argsStack = typeCheckArgs(token.Loc, argsStack, TokenString, TokenTimestamp)