bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

%preg typo?


From: Karl Berry
Subject: %preg typo?
Date: Sat, 11 Aug 2007 16:24:42 -0500

Gee, I didn't know there was a pregnancy directive in bison :).

k

*** /usr/local/gnu/src/bison-2.3/doc/ORIG/bison.texinfo Tue May 30 16:45:04 2006
--- /usr/local/gnu/src/bison-2.3/doc/bison.texinfo      Sat Aug 11 13:44:54 2007
***************
*** 2046,2050 ****
  @end group
  @group
!         | '-' exp %preg NEG     @{ $$ = -$2; @}
          | exp '^' exp           @{ $$ = pow ($1, $3); @}
          | '(' exp ')'           @{ $$ = $2; @}
--- 2046,2050 ----
  @end group
  @group
!         | '-' exp %prec NEG     @{ $$ = -$2; @}
          | exp '^' exp           @{ $$ = pow ($1, $3); @}
          | '(' exp ')'           @{ $$ = $2; @}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]