jscript: Fix shift/reduce conflict in IfStatement rule.

Rob Shearman robertshearman at gmail.com
Wed Oct 15 08:10:07 CDT 2008

The famous "dangling else" problem.
 dlls/jscript/parser.y      |    5 ++++-
 dlls/jscript/tests/lang.js |   12 ++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

Fixed the order of the %nonassoc statements to not cause problems
running the lang.js tests and added tests with dangling elses to prove
the patch doesn't break things.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 714d0af1b3a4f257fc2cbd3068b784ec1846c9c6.diff
Type: text/x-patch
Size: 1431 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081015/6d782b6b/attachment-0001.bin 

More information about the wine-patches mailing list