[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-doc
Subject: [RFC][PATCH 1/2] kernel-doc: tracking line numbers in source files
From: Ilya Dryomov <idryomov () gmail ! com>
Date: 2010-01-12 11:59:37
Message-ID: 20100112115937.GC19564 () cmf
[Download RAW message or body]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
---
scripts/kernel-doc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 241310e..8018f6a 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -2023,6 +2023,8 @@ sub process_file($) {
return;
}
+ $. = 1;
+
$section_counter = 0;
while (<IN>) {
if ($state == 0) {
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic