23 lines
462 B
Text
23 lines
462 B
Text
$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;
|
|
|