Files
pkgsrc-ng/graphics/rayshade/patches/patch-libshade_lex.l
2013-09-26 17:14:40 +02:00

25 lines
473 B
Plaintext

$NetBSD: patch-libshade_lex.l,v 1.1 2012/12/25 21:08:40 joerg Exp $
--- libshade/lex.l.orig 1992-02-10 03:04:02.000000000 +0000
+++ libshade/lex.l
@@ -28,7 +28,10 @@
#include "symtab.h"
#include "y.tab.h"
extern char *strsave();
+static void skipcomments(void);
+
%}
+%option yylineno
alpha [a-zA-Z]
special [\.\_-]
digit [0-9]
@@ -163,7 +166,7 @@ yywrap() {return 1;}
/*
* Skip over comments.
*/
-skipcomments()
+static void skipcomments(void)
{
char c;