Toby Peterson <[EMAIL PROTECTED]> writes: > Patch: http://cvs.opendarwin.org/index.cgi/~checkout~/dports/devel/ > bison/files/patch-data__yacc.c > > When YYMAXDEPTH is 0,
How could that happen? YYINITDEPTH must be positive, right? And there's no point to setting YYMAXDEPTH to a value less than YYINITDEPTH. > yyparse() generates a warning (about a comparison always being > true). yystacksize is unsigned, which causes the warning only when > YYMAXDEPTH is <= 0. I'd rather not change the code to say "#if YYMAXDEPTH > 0", since YYMAXDEPTH might expand to be a static variable or something like that, and this won't work in a preprocessor #if.
