]> git.saurik.com Git - bison.git/commit - tests/calc.at
(_AT_DATA_CALC_Y): Include unistd.h if available.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jun 2003 03:58:34 +0000 (03:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jun 2003 03:58:34 +0000 (03:58 +0000)
commit82c53be476163f328c99f04e85462d7494631a24
tree743b3cbb72c094d38cbdf364c657c503ef76d724
parenta6b89bb2dccc04745831cb974c74ee71c22cf6a0
(_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.
tests/calc.at