shithub: rgbds

Download patch

ref: 0d80f60fcc14ad5efbf0234d2c27dde877623100
parent: 7097b9885e4ff0c36878d5928c9554c673e82305
author: Ben10do <[email protected]>
date: Mon Apr 10 06:44:31 EDT 2017

Fix implicit declaration of yyparse()

This was causing compilation errors, as yyparse() hadn’t been defined in lexer.l.

--- a/src/link/lexer.l
+++ b/src/link/lexer.l
@@ -28,6 +28,8 @@
 
 #include "parser.h"
 
+extern int yyparse();
+
 /* File include stack. */
 
 #define	MAX_INCLUDE_DEPTH 8