X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Flexer.c;h=5044731348ecce0c6a7573dfaabd28b9b3709d67;hb=40fb94bbe38b3e444df7952631ec5fe83f7f1086;hp=6d3549a82782134f62c8603e76ac207f54fe6fef;hpb=cd221d80fafb54e550398c6de105d4c1b7f02ba0;p=pspp diff --git a/src/language/lexer/lexer.c b/src/language/lexer/lexer.c index 6d3549a827..5044731348 100644 --- a/src/language/lexer/lexer.c +++ b/src/language/lexer/lexer.c @@ -933,8 +933,8 @@ lex_next_tokcstr (const struct lexer *lexer, int n) The string is null-terminated (but the null terminator is not included in the returned substring's 'length'). - Only T_ID and T_STRING tokens have meaningful strings. For other tokens - this functions this function will always return NULL. + Only T_ID, T_MACRO_ID, T_STRING tokens have meaningful strings. For other + tokens this functions this function will always return NULL. The UTF-8 encoding of the returned string is correct for variable names and other identifiers. Use filename_to_utf8() to use it as a filename. Use