[SV 40139] Modify "missing separator" for better translation
authorPaul Smith <psmith@gnu.org>
Sun, 13 Oct 2013 20:01:22 +0000 (16:01 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 13 Oct 2013 20:48:23 +0000 (16:48 -0400)
read.c

diff --git a/read.c b/read.c
index 15d1b13c2d1ad1b288672749b7179afae845e669..83224ac18d70201d15b5a303333dc89d25e9b48c 100644 (file)
--- a/read.c
+++ b/read.c
@@ -1120,9 +1120,10 @@ eval (struct ebuffer *ebuf, int set_default)
             if (*p2 != '\0')
               /* There's no need to be ivory-tower about this: check for
                  one of the most common bugs found in makefiles...  */
-              fatal (fstart, _("missing separator%s"),
-                     (cmd_prefix == '\t' && !strneq (line, "        ", 8))
-                     ? "" : _(" (did you mean TAB instead of 8 spaces?)"));
+              if (cmd_prefix == '\t' && !strneq (line, "        ", 8))
+                fatal (fstart, _("missing separator (did you mean TAB instead of 8 spaces?)"));
+              else
+                fatal (fstart, _("missing separator"));
             continue;
           }