X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Finclude.c;h=abce511a0a74db2c3a8d57639f7dc9cad88d2107;hb=92fb12eb06716d14c05b781f5d9dcde956d77c30;hp=19f5ca1b8f6f645219725e6993821d04fe788a53;hpb=74a57f26f1458b28a0fddbb9f46004ac8f4d9c30;p=pspp diff --git a/src/include.c b/src/include.c index 19f5ca1b8f..abce511a0a 100644 --- a/src/include.c +++ b/src/include.c @@ -14,8 +14,8 @@ 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 @@ -23,10 +23,13 @@ #include "alloc.h" #include "command.h" #include "error.h" -#include "getline.h" +#include "getl.h" #include "lexer.h" #include "str.h" +#include "gettext.h" +#define _(msgid) gettext (msgid) + int cmd_include (void) { @@ -40,7 +43,7 @@ cmd_include (void) lex_error (_("expecting filename")); return CMD_FAILURE; } - getl_include (ds_value (&tokstr)); + getl_include (ds_c_str (&tokstr)); lex_get (); return lex_end_of_command ();