X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdata-io%2Fcombine-files.c;h=aa6d3b98ec319b60f1efd31b3fcf299b7ed87654;hb=refs%2Fbuilds%2F20101125030504%2Fpspp;hp=66163ee0b3d23a4bf1e417249d1a417fd79240cc;hpb=740218f508466f16a79939cd97027b99f589d682;p=pspp diff --git a/src/language/data-io/combine-files.c b/src/language/data-io/combine-files.c index 66163ee0b3..aa6d3b98ec 100644 --- a/src/language/data-io/combine-files.c +++ b/src/language/data-io/combine-files.c @@ -251,7 +251,7 @@ combine_files (enum comb_command_type command, "TABLE.")); goto error; } - strcpy (file->in_name, lex_tokid (lexer)); + strcpy (file->in_name, lex_tokcstr (lexer)); lex_get (lexer); } else if (lex_match_id (lexer, "SORT")) @@ -325,7 +325,7 @@ combine_files (enum comb_command_type command, lex_match (lexer, T_EQUALS); if (!lex_force_id (lexer)) goto error; - strcpy (first_name, lex_tokid (lexer)); + strcpy (first_name, lex_tokcstr (lexer)); lex_get (lexer); } else if (command != COMB_UPDATE && lex_match_id (lexer, "LAST")) @@ -339,7 +339,7 @@ combine_files (enum comb_command_type command, lex_match (lexer, T_EQUALS); if (!lex_force_id (lexer)) goto error; - strcpy (last_name, lex_tokid (lexer)); + strcpy (last_name, lex_tokcstr (lexer)); lex_get (lexer); } else if (lex_match_id (lexer, "MAP"))