projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8596d6e
)
CTABLES: Allow CAPTIONS, CORNERS, TITLES in TITLES subcommand.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 7 Sep 2022 15:27:54 +0000
(08:27 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 9 Sep 2022 18:09:18 +0000
(11:09 -0700)
Matthias Faeth reported that SPSS accepts these spellings.
src/language/stats/ctables.c
patch
|
blob
|
history
diff --git
a/src/language/stats/ctables.c
b/src/language/stats/ctables.c
index d746a3356f8ce50b851f7d98b1c25dda989b752b..d0c0a8482b6da23897dba1ae8925d152353d7a57 100644
(file)
--- a/
src/language/stats/ctables.c
+++ b/
src/language/stats/ctables.c
@@
-6446,11
+6446,11
@@
cmd_ctables (struct lexer *lexer, struct dataset *ds)
do
{
char **textp;
- if (lex_match_id (lexer, "CAPTION"))
+ if (lex_match_id (lexer, "CAPTION
S
"))
textp = &t->caption;
- else if (lex_match_id (lexer, "CORNER"))
+ else if (lex_match_id (lexer, "CORNER
S
"))
textp = &t->corner;
- else if (lex_match_id (lexer, "TITLE"))
+ else if (lex_match_id (lexer, "TITLE
S
"))
textp = &t->title;
else
{