pspp-cvs
[Top][All Lists]
Advanced

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

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


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/recode.c
Date: Sun, 06 Mar 2005 22:04:54 -0500

Index: pspp/src/recode.c
diff -u pspp/src/recode.c:1.17 pspp/src/recode.c:1.18
--- pspp/src/recode.c:1.17      Mon Nov 15 09:51:22 2004
+++ pspp/src/recode.c   Mon Mar  7 03:04:50 2005
@@ -445,7 +445,7 @@
 
   v->c = NULL;
 
-  if (token == T_NUM)
+  if (lex_is_number ())
     {
       v->f = tokval;
       lex_get ();
@@ -540,7 +540,7 @@
                    return 0;
                  if (lex_match_id ("HI") || lex_match_id ("HIGHEST"))
                    c->type = RCD_ELSE;
-                 else if (token == T_NUM)
+                 else if (lex_is_number ())
                    {
                      c->type = RCD_LOW;
                      c->f1.f = tokval;
@@ -568,7 +568,7 @@
                  return 0;
                }
            }
-         else if (token == T_NUM)
+         else if (lex_is_number ())
            {
              c->f1.f = tokval;
              lex_get ();
@@ -576,7 +576,7 @@
                {
                  if (lex_match_id ("HI") || lex_match_id ("HIGHEST"))
                    c->type = RCD_HIGH;
-                 else if (token == T_NUM)
+                 else if (lex_is_number ())
                    {
                      c->type = RCD_RANGE;
                      c->f2.f = tokval;




reply via email to

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