]> thyrsus.com Git - cupl.git/commitdiff
Get better feedback.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 11 Nov 1994 21:38:47 +0000 (21:38 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 11 Nov 1994 21:38:47 +0000 (21:38 +0000)
interpret.c

index 1f24213b5611f74a47c29970c2cf58631324d8e8..ecde385606989417182ad8ea00eeb668d3e1affd 100644 (file)
@@ -185,7 +185,7 @@ static bool check_errors(node *tree)
     /* check for label/variable consistency */
     for_symbols(lp)
        if ((lp->blabelref || lp->blabeldef) + (lp->slabelref || lp->slabeldef) + (lp->assigned || lp->used) > 1)
-           die("%s has conflicting uses\n");
+           die("%s has conflicting uses\n", lp->node->u.string);
        else if (lp->blabelref && !lp->blabeldef)
            die("block label %s used but not defined\n", lp->node->u.string);
        else if (!lp->blabelref && lp->blabeldef)