Skip to content

Commit 279becf

Browse files
committed
Removed yywrap function
1 parent aacd80f commit 279becf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ INCLUDE = include
99
DEBUG = y
1010
CFLAGS = -I$(INCLUDE)
1111
CFLAGS-y= -g $(CFLAGS)
12-
LDFLAGS = -lfl
12+
LDFLAGS =
1313
SHELL := /bin/bash
1414
INFO = @: echo ' '
1515
ifeq ($(UNAME),Linux)

parser/smt2.lex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdlib.h>
55
#include <c3_core.h>
66
#include "parsesmt2.h"
7-
7+
88
extern char *yytext;
99
static int lookup(char *s) {
1010
char * cleaned = NULL;
@@ -37,6 +37,8 @@
3737
}
3838
%}
3939

40+
%option noyywrap
41+
4042
/* start states */
4143
%x COMMENT
4244

0 commit comments

Comments
 (0)