From 3ebb9bc3c231d97af9c819385a338aad28329d7f Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 19 Nov 2015 19:48:28 +0000 Subject: lexer fixes to work with new flex. from Serguey Parkhomovsky --- lib/libkeynote/keynote-ver.l | 3 +-- lib/libkeynote/keynote.l | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/libkeynote') 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; -- cgit v1.2.3