tower@AI.MIT.EDU (Leonard H. Tower Jr.) (05/27/89)
Return-Path: <mrspoc!guinan!kayvan@apple.com> Date: Wed, 24 May 89 15:47:10 PDT To: bug-bison@prep.ai.mit.edu Cc: info-gnu@prep.ai.mit.edu Subject: Bug in Bison documentation From: Kayvan Sylvan <guinan!kayvan@apple.com> Reply-To: mrspoc!kayvan@apple.com Sender: guinan!kayvan@apple.com The first example in the bison manual (RPN calc) includes a sample session which is wrong. The example as it stands causes a parse error. Diff follows: ---Kayvan *** bison.texinfo~ Wed May 24 15:30:38 1989 --- bison.texinfo Wed May 24 15:30:39 1989 *************** *** 1094,1098 4 9 + 13 ! 3 * 7 + 3 4 5 *+- -13 3 7 + 3 4 5 * + - n @r{Note the unary minus, @samp{n}} --- 1094,1098 ----- 4 9 + 13 ! 1 3 * 7 + 3 4 5 *+- -13 3 7 + 3 4 5 * + - n @r{Note the unary minus, @samp{n}}