blob: 382a6971ac4487dcdb4f043b4f7f970ae37572c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ab,v 1.2 2012/12/25 21:08:40 joerg Exp $
--- etc/rsconvert/lex.l.orig 1992-02-10 03:03:54.000000000 +0000
+++ etc/rsconvert/lex.l
@@ -21,7 +21,9 @@
#endif
#include "libcommon/common.h"
#include "y.tab.h"
+static void skipcomments(void);
%}
+%option yylineno
alpha [a-zA-Z]
special [\.\_-]
digit [0-9]
@@ -101,7 +103,7 @@ yywrap() {return(1);}
/*
* Skip over comments.
*/
-skipcomments()
+static void skipcomments(void)
{
char c;
|