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

parser crashing with IDENT DOT SEMICOL #400

Closed
wgrr opened this issue Jul 22, 2021 · 1 comment · Fixed by #401
Closed

parser crashing with IDENT DOT SEMICOL #400

wgrr opened this issue Jul 22, 2021 · 1 comment · Fixed by #401
Assignees

Comments

@wgrr
Copy link
Contributor

wgrr commented Jul 22, 2021

this was found with emacs default scrach buffer message:

;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.

quick-lint-js version commit: 91f23fd

simpler input file

% cat /dev/shm/test
die.;
% 

quick-lint-js output:

% quick-lint-js /dev/shm/test
/home/w/g/quick-lint-js/src/parse.cpp:957: fatal: token not implemented in parse_expression_remainder: semicolon on line 1 column 5
% 
@wgrr
Copy link
Contributor Author

wgrr commented Jul 22, 2021

fwiw just DOT SEMICOL would make it crash too

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

Successfully merging a pull request may close this issue.

1 participant