From 2f42a608491fadcb3ff9a4b7cfa3084bc8a12d84 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Mon, 24 Nov 2014 21:18:59 +0100 Subject: [PATCH] Prototypes and header cleanups for parser. --- Monicelli.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Monicelli.y b/Monicelli.y index 153effe..39fa39b 100644 --- a/Monicelli.y +++ b/Monicelli.y @@ -1,10 +1,11 @@ %{ #include "Type.h" -#include #define YYERROR_VERBOSE extern void emit(const char *, ...); +extern void yyerror(const char *); +extern int yylex(); %} %union {