X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fweight.c;h=c95b7910b28ff5d81365074ea0f800d2a6746354;hb=a1887dd91b27990bba31adb888a4273379a4bf8c;hp=41dc33f65562becfde277be97d86165e320a50e1;hpb=77cbf2d7d1e5712d4ef952f265ed5c2917fc3f68;p=pspp-builds.git diff --git a/src/weight.c b/src/weight.c index 41dc33f6..c95b7910 100644 --- a/src/weight.c +++ b/src/weight.c @@ -18,9 +18,10 @@ 02111-1307, USA. */ #include -#include +#include "error.h" #include #include "command.h" +#include "dictionary.h" #include "error.h" #include "lexer.h" #include "str.h" @@ -37,8 +38,6 @@ struct weight_trns int cmd_weight (void) { - lex_match_id ("WEIGHT"); - if (lex_match_id ("OFF")) dict_set_weight (default_dict, NULL); else