pspp-cvs
[Top][All Lists]
Advanced

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

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


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/get.c
Date: Tue, 03 May 2005 01:32:23 -0400

Index: pspp/src/get.c
diff -u pspp/src/get.c:1.27 pspp/src/get.c:1.28
--- pspp/src/get.c:1.27 Mon May  2 06:21:20 2005
+++ pspp/src/get.c      Tue May  3 05:32:22 2005
@@ -728,7 +728,8 @@
   dict_set_case_limit (mtf.dict, dict_get_case_limit (default_dict));
 
   lex_match ('/');
-  while (lex_id_match ("FILE", tokid) || lex_id_match ("TABLE", tokid)) 
+  while (token == T_ID
+         && (lex_id_match ("FILE", tokid) || lex_id_match ("TABLE", tokid)))
     {
       struct mtf_file *file = xmalloc (sizeof *file);
 
@@ -741,6 +742,7 @@
         }
       else
         assert (0);
+      lex_match ('=');
 
       file->by = NULL;
       file->handle = NULL;
@@ -774,9 +776,7 @@
             mtf.head = file;
           first_table->prev = file;
         }
-         
-      lex_match ('=');
-         
+
       if (lex_match ('*'))
         {
           file->handle = NULL;




reply via email to

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