[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with an if rule!
From: |
Hans Aberg |
Subject: |
Re: help with an if rule! |
Date: |
Sun, 14 Aug 2005 20:37:15 +0200 |
On 14 Aug 2005, at 18:53, Roberto Mandall wrote:
open_if_statement : IF boolean_expression THEN statement
|IF boolean_expression THEN closed_statement ELSE
open_statement;
closed_if_statement : IF boolean_expression THEN closed_statement
ELSE closed_statement;
i want to add some semantic actions after the then ,but i get
conflicts,
You can use token precedences (like %nonassoc) on "ELSE" and "THEN".
Hans Aberg