projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug #17329 in REREAD parsing, reported by John Darrington.
[pspp]
/
src
/
language
/
lexer
/
lexer.c
diff --git
a/src/language/lexer/lexer.c
b/src/language/lexer/lexer.c
index c9e71b9f64670edebebbad9e50b86dd6c5b85d1f..7358c71b1be93aef13f82cc92a6a15a02f0ea184 100644
(file)
--- a/
src/language/lexer/lexer.c
+++ b/
src/language/lexer/lexer.c
@@
-27,6
+27,7
@@
#include <stdarg.h>
#include <stdlib.h>
#include <libpspp/alloc.h>
#include <stdarg.h>
#include <stdlib.h>
#include <libpspp/alloc.h>
+#include <libpspp/assertion.h>
#include <language/command.h>
#include <libpspp/message.h>
#include <language/line-buffer.h>
#include <language/command.h>
#include <libpspp/message.h>
#include <language/line-buffer.h>
@@
-934,7
+935,7
@@
lex_token_representation (void)
}
}
}
}
-
assert (0
);
+
NOT_REACHED (
);
}
\f
/* Really weird functions. */
}
\f
/* Really weird functions. */
@@
-1018,7
+1019,7
@@
convert_numeric_string_to_char_string (enum string_type type)
chars_per_byte = 2;
break;
default:
chars_per_byte = 2;
break;
default:
-
abort
();
+
NOT_REACHED
();
}
byte_cnt = ds_length (&tokstr) / chars_per_byte;
}
byte_cnt = ds_length (&tokstr) / chars_per_byte;