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

fix the custom lexer to be able to handle the whitespace at the end of the file #21

Open
paulvi opened this issue Nov 17, 2013 · 3 comments

Comments

@paulvi
Copy link
Member

paulvi commented Nov 17, 2013

extract as separate issue from #19
link to file https://github.com/Nodeclipse/coffeescript-eclipse/blob/master/csep/src/com/aptana/editor/coffee/parsing/lexer/CoffeeScanner.java

@cdietrich said:

as said before. we need someone that can fix the custom lexer to be able to handle the whitespace at the end of the file. for the rest a regeneration should work.

@paulvi
Copy link
Member Author

paulvi commented Nov 17, 2013

@cdietrich
Copy link

In general the whitespace handling has to be fixed.
the positions in the real file and in the lexer have to match.

@cdietrich
Copy link

you can have a look at my fork to see what i have done so far.
i cannot verify if my work did any damage to the correctness of the parser
nor that it solves the problem in all cases.

https://github.com/cdietrich/coffeescript-eclipse/blob/master/csep/src/com/aptana/editor/coffee/parsing/lexer/CoffeeScanner.java

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