[Top][All Lists]

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

PSPP-BUG: [bug #17948] Hex strings don't work

From: Ben Pfaff
Subject: PSPP-BUG: [bug #17948] Hex strings don't work
Date: Sun, 08 Oct 2006 21:43:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060830 Firefox/ (Debian-1.5.dfsg+


                 Summary: Hex strings don't work
                 Project: PSPP
            Submitted by: blp
            Submitted on: Sunday 10/08/06 at 14:43
                Category: Syntax Parser
                Severity: 7 - Major
                  Status: Ready for Test/Review
             Assigned to: blp
             Open/Closed: Open
                 Release: None
                  Effort: 0.00



Hex strings don't work.  Here's a patch:

Index: lexer.c
RCS file: /cvsroot/pspp/pspp/src/language/lexer/lexer.c,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 lexer.c
--- lexer.c     8 Jul 2006 03:05:51 -0000       1.7
+++ lexer.c     8 Oct 2006 21:41:48 -0000
@@ -1071,6 +1071,9 @@ convert_numeric_string_to_char_string (e
 static int 
 parse_string (enum string_type type)
+  if (type != CHARACTER_STRING)
+    prog++;
   /* Accumulate the entire string, joining sections indicated by +
      signs. */
   for (;;)

It's not worth checking in until I've written a test to exercise it, and I'm
in the middle of something else.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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