Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token (DELETE, 'delete') #105

Open
FVolral opened this issue Aug 16, 2018 · 1 comment
Open

Unexpected token (DELETE, 'delete') #105

FVolral opened this issue Aug 16, 2018 · 1 comment

Comments

@FVolral
Copy link

FVolral commented Aug 16, 2018

I've the following error when I'm trying to parse a file:
Unexpected token (DELETE, 'delete') at 1:25116 between LexToken(PERIOD,'.',1,25115) and LexToken(EQ,'=',1,25123)
It happens with this part of code:

 if (arch) {
            this.activeActions.create = arch.attrs.create ?
                                            JSON.parse(arch.attrs.create) :
                                            true;
            this.activeActions.delete = arch.attrs.delete ?
                                            JSON.parse(arch.attrs.delete) :
                                            true;
            this.editable = arch.attrs.editable;
        }
@metatoaster
Copy link

Same issue as #52, #59, #103.

If you are having continuous issue with this library (as you have reported a number of issues recently here), and if you want a similar ES5 parser but one that is actually maintained with bugs fixed to conform as much as possible to the ECMA-252 5.1 spec, please consider giving the forked project calmjs.parse a try, I will generally respond much quicker to issues than the maintainer for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants