[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:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-1) |
URL:
<http://savannah.gnu.org/bugs/?17948>
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
_______________________________________________________
Details:
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:
<http://savannah.gnu.org/bugs/?17948>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- PSPP-BUG: [bug #17948] Hex strings don't work,
Ben Pfaff <=