]> git.zerfleddert.de Git - micropolis/commit
src/tclx/src/tclxgdat.y: Micropolis build fixes for recent macOS
authorRyan Schmidt <ryandesign@macports.org>
Wed, 18 May 2022 10:53:08 +0000 (05:53 -0500)
committerMichael Gernoth <michael@gernoth.net>
Sat, 4 Jun 2022 09:18:45 +0000 (11:18 +0200)
commit64026b2057cc20136ebfb3d3aaf3fccd81e8b640
tree2fcbee7549830e392f79c31d0ac81f7f29dab20c
parent81583a602d526bf267d2426f84615e512567b29a
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"));
  ^
src/tclx/src/tclxgdat.y
Impressum, Datenschutz