Package: bison
Version: 1:1.875d-1

As shown by the following transcript, if bison is given an invalid
%parse-param directive, it crashes.  I tried it with version 2.0 too
and got the same results.

 falcon:bison-2.0$ cat crash.y 
 %parse-param thing
 %%
 empty : ;
 %%
 falcon:bison-2.0$ bison crash.y 
 crash.y:1.14: Segmentation fault
 falcon:bison-2.0$ ./src/bison crash.y 
 crash.y:1.14: Segmentation fault
 falcon:bison-2.0$ cat foo.y
 %parse-param {thing}
 %%
 empty : ;
 %%
 falcon:bison-2.0$ bison foo.y
 falcon:bison-2.0$ 

bison: 1:1.875d-1
m4: 1.4.2-1
libc: 2.3.2.ds1-21
linux: 2.6.7

Cheers, Neil.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to