bison/tests calc.at
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/bison Module name: bison Changes by: Paul Eggert <[email protected]> 03/06/01 23:58:35 Modified files: tests : calc.at Log message: (_AT_DATA_CALC_Y): Include unistd.h if available. Define 'alarm' to do nothing if unistd.h is not available. Add a new rule "exp: '-' error;" to test the above change to data/yacc.c. Use 'alarm' to abort any test taking longer than 10 seconds, as it's probably looping. (AT_CHECK_CALC): Test recovery from error in new grammar rule. Also, the new yacc.c generates two fewer diagnostics for an existing test. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/tests/calc.at.diff?tr1=1.56&tr2=1.57&r1=text&r2=text