33 years old bug in yacc

The OpenBSD journal had a nice story about a bug in yacc. The most interesting part is

Funny thing is that I traced this back to Sixth Edition UNIX, released in 1975. A very similar problem can be spotted here. The lines:

So it is 8 years older than the 25 year old bug in seekdir that was found in May 2008 :-)