summaryrefslogtreecommitdiff
path: root/lib/libkeynote
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-11-19 19:48:28 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-11-19 19:48:28 +0000
commit3ebb9bc3c231d97af9c819385a338aad28329d7f (patch)
tree83488110c3520e75a17397525e6b92f25c460556 /lib/libkeynote
parentc75584be6c40ab69fa4779469cbcdb5b53a93e6b (diff)
lexer fixes to work with new flex. from Serguey Parkhomovsky
Diffstat (limited to 'lib/libkeynote')
-rw-r--r--lib/libkeynote/keynote-ver.l3
-rw-r--r--lib/libkeynote/keynote.l3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libkeynote/keynote-ver.l b/lib/libkeynote/keynote-ver.l
index 08cdf2c176f..8f3237448bc 100644
--- a/lib/libkeynote/keynote-ver.l
+++ b/lib/libkeynote/keynote-ver.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: keynote-ver.l,v 1.16 2013/11/29 19:00:51 deraadt Exp $ */
+/* $OpenBSD: keynote-ver.l,v 1.17 2015/11/19 19:48:27 tedu Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -252,7 +252,6 @@ read_environment(char *filename)
if (0)
{
yyunput(0, NULL);
- yy_flex_realloc(0, 0);
}
}
diff --git a/lib/libkeynote/keynote.l b/lib/libkeynote/keynote.l
index a3586ff3945..421e00553f3 100644
--- a/lib/libkeynote/keynote.l
+++ b/lib/libkeynote/keynote.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: keynote.l,v 1.22 2015/11/19 02:35:24 mmcc Exp $ */
+/* $OpenBSD: keynote.l,v 1.23 2015/11/19 19:48:27 tedu Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -746,7 +746,6 @@ keynote_get_envlist(char *buf, char *bufend, int whichfield)
if (0)
{
yyunput(0, NULL);
- yy_flex_realloc(0, 0);
}
return en;