Menu

#39 Access violation when translating the attached file

open
None
5
2009-01-02
2009-01-02
Anonymous
No

Translating the attached file with re2c 0.13.5 for Windows causes access violation in re2c executable. Removing arbitrary parts (even unrelated to re2c rules) from the input file eliminates the problem.

Discussion

  • Nobody/Anonymous

     
  • Marcus Börger

    Marcus Börger - 2009-01-02
    • assigned_to: nobody --> helly
     
  • Marcus Börger

    Marcus Börger - 2009-01-02

    Not sure yet where the error comes from but I can reproduce it.

    Btw, you must correct the order of your rules as re2c does not analyze them. For instance when '=' comes before '==' then the '==' rule will never be hit.

     
  • Nobody/Anonymous

    Increasing BSIZE solves the problem, so I think the bug is in buffer reallocation.

     
  • Dennis Schridde

    Dennis Schridde - 2012-06-03

    Any news on this? Has it been fixed?

     

Log in to post a comment.