X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fweight.c;h=9128bc3e90038b2f44bb33e0df94528144ea5195;hb=1481286583f3c9a3b084a38d23367314923814b6;hp=41dc33f65562becfde277be97d86165e320a50e1;hpb=77cbf2d7d1e5712d4ef952f265ed5c2917fc3f68;p=pspp diff --git a/src/weight.c b/src/weight.c index 41dc33f655..9128bc3e90 100644 --- a/src/weight.c +++ b/src/weight.c @@ -14,18 +14,22 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include -#include +#include "error.h" #include #include "command.h" +#include "dictionary.h" #include "error.h" #include "lexer.h" #include "str.h" #include "var.h" +#include "gettext.h" +#define _(msgid) gettext (msgid) + /* WEIGHT transformation. */ struct weight_trns { @@ -37,8 +41,6 @@ struct weight_trns int cmd_weight (void) { - lex_match_id ("WEIGHT"); - if (lex_match_id ("OFF")) dict_set_weight (default_dict, NULL); else