[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shift/reduce conflict?
From: |
iquin |
Subject: |
Shift/reduce conflict? |
Date: |
Wed, 25 Jun 2003 12:05:24 +0800 |
Hi,
For an input where "xxxyxz", "xyxz", "xxxz" and "xz" are all valid,
I tried the following (flex not used):
start: xx xy xz
xx: |'x''x'
xy: |'x''y'
xz: 'x''z'
Unfortunately, it doesn't seem to work. Once the first 'x' is read,
only 'x' is expected, 'y' and 'z' becomes illegal. Any suggestions?
Thank You,
I.Q.
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers
- Shift/reduce conflict?,
iquin <=