X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Futilities%2Finclude.c;h=59728ad0ae0741d510796eb79bcf0594320ede47;hb=a45fa3f76f32c391c756b7e4334330458d74a1ab;hp=fe98aeb87f3347b82b61853adc70360cee87f132;hpb=deb4fd96c0c171fc8eb64f7f1e7f5c2af4931416;p=pspp
diff --git a/src/language/utilities/include.c b/src/language/utilities/include.c
index fe98aeb87f..59728ad0ae 100644
--- a/src/language/utilities/include.c
+++ b/src/language/utilities/include.c
@@ -15,17 +15,20 @@
along with this program. If not, see . */
#include
+
#include
#include
#include
#include
+#include
+
+#include
#include
-#include
-#include
-#include
#include
+#include
+#include
+#include
#include
-#include
#include "dirname.h"
#include "xalloc.h"
@@ -88,8 +91,8 @@ cmd_insert (struct lexer *lexer, struct dataset *ds UNUSED)
syntax_mode = GETL_BATCH;
else
{
- lex_error(lexer,
- _("Expecting BATCH or INTERACTIVE after SYNTAX."));
+ lex_error (lexer, _("expecting %s or %s after %s"),
+ "BATCH", "INTERACTIVE", "SYNTAX");
return CMD_FAILURE;
}
}
@@ -106,7 +109,8 @@ cmd_insert (struct lexer *lexer, struct dataset *ds UNUSED)
}
else
{
- lex_error (lexer, _("Expecting YES or NO after CD."));
+ lex_error (lexer, _("expecting %s or %s after %s"),
+ "YES", "NO", "CD");
return CMD_FAILURE;
}
}
@@ -123,7 +127,8 @@ cmd_insert (struct lexer *lexer, struct dataset *ds UNUSED)
}
else
{
- lex_error (lexer, _("Expecting CONTINUE or STOP after ERROR."));
+ lex_error (lexer, _("expecting %s or %s after %s"),
+ "CONTINUE", "STOP", "ERROR");
return CMD_FAILURE;
}
}