opnsense-ports/graphics/rayshade/files/patch-libshade__lex.l
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
377 B
Text

--- libshade/lex.l.orig 1992-02-10 12:04:02.000000000 +0900
+++ libshade/lex.l 2013-05-28 22:45:54.000000000 +0900
@@ -29,6 +29,7 @@
#include "y.tab.h"
extern char *strsave();
%}
+%option yylineno
alpha [a-zA-Z]
special [\.\_-]
digit [0-9]
@@ -171,7 +172,7 @@
while (input() != '*')
;
if ((c = input()) == '/')
- return;
+ return FALSE;
unput(c);
}
}