X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsysfile-info.c;h=5a91fc39b4e8d05b3bb9f3780dc5e84e11f014dd;hb=d781f450096059a2ae52da5749078e68661b9c91;hp=e4a2dce720762c0e22ccc37615aee998e81941b0;hpb=77cbf2d7d1e5712d4ef952f265ed5c2917fc3f68;p=pspp diff --git a/src/sysfile-info.c b/src/sysfile-info.c index e4a2dce720..5a91fc39b4 100644 --- a/src/sysfile-info.c +++ b/src/sysfile-info.c @@ -18,7 +18,7 @@ 02111-1307, USA. */ #include -#include +#include "error.h" #include #include #include "algorithm.h" @@ -77,9 +77,6 @@ cmd_sysfile_info (void) int r, nr; int i; - lex_match_id ("SYSFILE"); - lex_match_id ("INFO"); - lex_match_id ("FILE"); lex_match ('='); @@ -95,7 +92,7 @@ cmd_sysfile_info (void) t = tab_create (2, 9, 0); tab_vline (t, TAL_1 | TAL_SPACING, 1, 0, 8); tab_text (t, 0, 0, TAB_LEFT, _("File:")); - tab_text (t, 1, 0, TAB_LEFT, fh_handle_filename (h)); + tab_text (t, 1, 0, TAB_LEFT, handle_get_filename (h)); tab_text (t, 0, 1, TAB_LEFT, _("Label:")); { const char *label = dict_get_label (d); @@ -180,8 +177,6 @@ cmd_display (void) int n; struct variable **vl; - lex_match_id ("DISPLAY"); - if (lex_match_id ("MACROS")) display_macros (); else if (lex_match_id ("DOCUMENTS"))