projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Makefile.am: Add pspp-mode.el to EXTRA_DIST.
[pspp]
/
src
/
numeric.c
diff --git
a/src/numeric.c
b/src/numeric.c
index b97410a51bc234ffb826e06d6705f339ea56e6eb..844465eb126a3425e90c43039929e5a2596b1753 100644
(file)
--- a/
src/numeric.c
+++ b/
src/numeric.c
@@
-14,13
+14,14
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <config.h>
-#include
<assert.h>
+#include
"error.h"
#include <stdlib.h>
#include "command.h"
#include <stdlib.h>
#include "command.h"
+#include "dictionary.h"
#include "error.h"
#include "lexer.h"
#include "str.h"
#include "error.h"
#include "lexer.h"
#include "str.h"
@@
-42,7
+43,6
@@
cmd_numeric (void)
be used. */
struct fmt_spec f;
be used. */
struct fmt_spec f;
- lex_match_id ("NUMERIC");
do
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
do
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
@@
-116,7
+116,6
@@
cmd_string (void)
/* Width of variables to create. */
int width;
/* Width of variables to create. */
int width;
- lex_match_id ("STRING");
do
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
do
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
@@
-148,6
+147,7
@@
cmd_string (void)
break;
default:
assert (0);
break;
default:
assert (0);
+ abort ();
}
/* Create each variable. */
}
/* Create each variable. */
@@
-188,7
+188,6
@@
cmd_leave (void)
int i;
int i;
- lex_match_id ("LEAVE");
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
return CMD_FAILURE;
for (i = 0; i < nv; i++)
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
return CMD_FAILURE;
for (i = 0; i < nv; i++)