lexer: Change the functions for retrieving token strings.
[pspp-builds.git] / src / language / lexer / lexer.h
index 82f3fe23c10f40c1b941f0b8a0a965ba7b307d72..7af40234cc03d40d157a824f3803db05afac2266 100644 (file)
@@ -93,8 +93,8 @@ char *lex_token_representation (struct lexer *);
 /* Token accessors */
 enum token_type lex_token (const struct lexer *);
 double lex_tokval (const struct lexer *);
-const char *lex_tokid (const struct lexer *);
-const struct string *lex_tokstr (const struct lexer *);
+const char *lex_tokcstr (const struct lexer *);
+struct substring lex_tokss (const struct lexer *);
 
 /* Really weird functions. */
 void lex_skip_comment (struct lexer *);