projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to latest Gnulib
[pspp]
/
src
/
language
/
tests
/
format-guesser-test.c
diff --git
a/src/language/tests/format-guesser-test.c
b/src/language/tests/format-guesser-test.c
index 728080153c8565c8f6daf033acf3f6102d446de7..6285fc042c04a07cac583e68a38c814921ab4022 100644
(file)
--- a/
src/language/tests/format-guesser-test.c
+++ b/
src/language/tests/format-guesser-test.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
, 2010
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-33,7
+33,7
@@
cmd_debug_format_guesser (struct lexer *lexer, struct dataset *ds UNUSED)
char format_string[FMT_STRING_LEN_MAX + 1];
g = fmt_guesser_create ();
char format_string[FMT_STRING_LEN_MAX + 1];
g = fmt_guesser_create ();
- while (lex_
token (lexer) == T_STRING
)
+ while (lex_
is_string (lexer)
)
{
fprintf (stderr, "\"%s\" ", ds_cstr (lex_tokstr (lexer)));
fmt_guesser_add (g, ds_ss (lex_tokstr (lexer)));
{
fprintf (stderr, "\"%s\" ", ds_cstr (lex_tokstr (lexer)));
fmt_guesser_add (g, ds_ss (lex_tokstr (lexer)));