Fix incorrect index into 'escapes' array.
authorTim Retout <diocles@gnu.org>
Thu, 9 Apr 2009 21:33:46 +0000 (22:33 +0100)
committerTim Retout <diocles@gnu.org>
Thu, 9 Apr 2009 21:33:46 +0000 (22:33 +0100)
src/psgen.c

index 4bae4bd..536f10f 100644 (file)
@@ -1444,7 +1444,7 @@ read_special_escape (InputStream *is, Token *token)
          buf[i] = ch;
          if (i + 1 >= sizeof (buf))
            FATAL ((stderr, _("too long argument for %s escape:\n%.*s"),
-                   escapes[i].name, i, buf));
+                   escapes[e].name, i, buf));
        }
       buf[i] = '\0';