pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/lexer.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/lexer.c
Date: Sun, 21 Aug 2005 03:21:09 -0400

Index: pspp/src/lexer.c
diff -u pspp/src/lexer.c:1.20 pspp/src/lexer.c:1.21
--- pspp/src/lexer.c:1.20       Sun Jul 31 21:42:46 2005
+++ pspp/src/lexer.c    Sun Aug 21 07:21:06 2005
@@ -384,6 +384,22 @@
 #endif
 }
 
+/* Reports an error to the effect that subcommand SBC may only be
+   specified once. */
+void
+lex_sbc_only_once (const char *sbc) 
+{
+  msg (SE, _("Subcommand %s may only be specified once."), sbc);
+}
+
+/* Reports an error to the effect that subcommand SBC is
+   missing. */
+void
+lex_sbc_missing (const char *sbc) 
+{
+  lex_error (_("missing required subcommand %s"), sbc);
+}
+
 /* Prints a syntax error message containing the current token and
    given message MESSAGE (if non-null). */
 void




reply via email to

[Prev in Thread] Current Thread [Next in Thread]