bartmcleod / VrmlParser

A VrmlParser based on a PEG.js grammar
25 stars 10 forks source link

Expected "{" or value but "[" found on believed valid VRML #12

Closed Sonander closed 5 years ago

Sonander commented 5 years ago

The attached file was written by CAD Exchanger and is believed valid.

The error looks like one we had on other files that were fixed by 'issue #5 where a coordIndex need not end with -1' but it happens on this file even with your code containing that fix.

350988.wrl.zip

If you could look at this and comment it would be much appreciated.

Jeremy

bartmcleod commented 5 years ago

The problem was the identifier on line 4, that is a single underscore "_". The parser did not allow this, but now it does. Fixed in version 0.8.2

Sonander commented 5 years ago

Hi Bart,

Thank you for this amazingly quick work. We really appreciate that and can confirm its now working well for us.

Jeremy.

On 25 Mar 2019, at 21:47, Bart McLeod notifications@github.com wrote:

The problem was the identifier on line 4, that is a single underscore "_". The parser did not allow this, but now it does. Fixed in version 0.8.2

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bartmcleod/VrmlParser/issues/12#issuecomment-476390704, or mute the thread https://github.com/notifications/unsubscribe-auth/Aeg6lsjiif8FVpIc-_i8k9ACNaNK_ILMks5vaUQKgaJpZM4cHE4g.

bartmcleod commented 5 years ago

Thanks for the heads up :-)