Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: sync comment with reality after re...
details: https://anonhg.NetBSD.org/src/rev/74ded137dab5
branches: trunk
changeset: 954391:74ded137dab5
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Apr 06 22:21:53 2021 +0000
description:
lint: sync comment with reality after renaming several functions
No functional change.
diffstat:
usr.bin/xlint/lint1/lex.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2da3b45f6b8a -r 74ded137dab5 usr.bin/xlint/lint1/lex.c
--- a/usr.bin/xlint/lint1/lex.c Tue Apr 06 22:12:16 2021 +0000
+++ b/usr.bin/xlint/lint1/lex.c Tue Apr 06 22:21:53 2021 +0000
@@ -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 @@
/*
* 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)
Home |
Main Index |
Thread Index |
Old Index