Module Name: src
Committed By: rillig
Date: Tue Apr 6 22:21:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: sync comment with reality after renaming several functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/xlint/lint1/lex.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/lint1/lex.c
diff -u src/usr.bin/xlint/lint1/lex.c:1.23 src/usr.bin/xlint/lint1/lex.c:1.24
--- src/usr.bin/xlint/lint1/lex.c:1.23 Fri Apr 2 22:05:43 2021
+++ src/usr.bin/xlint/lint1/lex.c Tue Apr 6 22:21:53 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.23 2021/04/02 22:05:43 rillig Exp $ */
+/* $NetBSD: lex.c,v 1.24 2021/04/06 22:21:53 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: lex.c,v 1.23 2021/04/02 22:05:43 rillig Exp $");
+__RCSID("$NetBSD: lex.c,v 1.24 2021/04/06 22:21:53 rillig Exp $");
#endif
#include <ctype.h>
@@ -487,7 +487,7 @@ keyw(sym_t *sym)
/*
* Convert a string representing an integer into internal representation.
- * The value is returned in yylval. icon() (and yylex()) returns T_CON.
+ * Return T_CON, storing the numeric value in yylval, for yylex.
*/
int
lex_integer_constant(const char *yytext, size_t yyleng, int base)