pivot-table: Implement hiding footnotes.
[pspp] / tests / output / pivot-table-test.c
index 04f3eb2401d4cdb9a30ead0a3971cf31c7f654a0..976abcd0d0007994124d58441dd2174369fdad5c 100644 (file)
@@ -934,7 +934,8 @@ read_footnote (struct lexer *lexer, struct pivot_table *pt)
   else
     marker = NULL;
 
-  pivot_table_create_footnote__ (pt, idx, marker, content);
+  bool show = !lex_match_id (lexer, "HIDE");
+  pivot_table_create_footnote__ (pt, idx, marker, content)->show = show;
 }
 
 static void