From: Ryan Schmidt Date: Wed, 18 May 2022 10:53:08 +0000 (-0500) Subject: src/tclx/src/tclxgdat.y: Micropolis build fixes for recent macOS X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/64026b2057cc20136ebfb3d3aaf3fccd81e8b640?hp=64026b2057cc20136ebfb3d3aaf3fccd81e8b640 src/tclx/src/tclxgdat.y: Micropolis build fixes for recent macOS Fix: y.tab.c:1310:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:1586:7: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^ y.tab.c:1732:3: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] yyerror (YY_("memory exhausted")); ^ ---