help-bison
[Top][All Lists]
Advanced

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

why this is shift/reduce?


From: Jibin Han
Subject: why this is shift/reduce?
Date: Thu, 06 Feb 2003 17:01:06 -0700

Hello,
    Bison complains the following shift/reduce error at
chip_param_define section(the last part), I am confused here, could you
tell me why it is?

board:chips {}

chips: chip {}
  |
  chips chip {}

chip: BEGIN_FPGA chip_defines cores END {}

chip_defines: chip_param_define {}
  |
  chip_defines chip_param_define {}

chip_param_define: /* empty */
  |
  PARAMETER_INSTANCE  CHIP_INSTANCE_NAME {}
  |
  DEVICE CHIP_DEVICE_NAME {}






reply via email to

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