mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
ctags: Don't undercount lines when handling // comments.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D40374
This commit is contained in:
parent
979754a15a
commit
7ba6119e22
|
@ -483,9 +483,9 @@ skip_comment(int t) /* t is comment character */
|
|||
return;
|
||||
break;
|
||||
case '\n':
|
||||
SETLINE;
|
||||
if (t == '/')
|
||||
return;
|
||||
SETLINE;
|
||||
/*FALLTHROUGH*/
|
||||
default:
|
||||
star = NO;
|
||||
|
|
Loading…
Reference in a new issue