#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

  •  
    Attachments
  • 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.

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

     
  • devurandom
    devurandom
    2012-06-03

    Any news on this? Has it been fixed?