[Top][All Lists]

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

[DotGNU]Arrays and torture testing ilasm (a bug)

From: Gopal V
Subject: [DotGNU]Arrays and torture testing ilasm (a bug)
Date: Sun, 9 Mar 2003 21:27:32 +0530
User-agent: Mutt/1.2.5i

        As usual I've dug up a bug for ilasm which prevents it from
assembling any array larger than 4994 elements. I almost know
why it happens.

ilasm_grammar.y: 2627

        : DataItem
        | DataItem ',' DataItemList

This sets up a recursion of 4994 levels in itself and finally till
the parser gives up. I think that's what's causing the problems.

On the contrary the C#'s parser has a similar construct and does not
throw errors . So I've sort of given up on the bug right now :-)

This is a real bug and was encountered in an auto-generated parser file
which had a whole lot of states .. (you could guess ;)

The difference between insanity and genius is measured by success

Description: Text document

reply via email to

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