Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Add the ability to parse just until the end of the first directive #1195

Closed
rynowak opened this issue Apr 10, 2017 · 0 comments
Closed

Add the ability to parse just until the end of the first directive #1195

rynowak opened this issue Apr 10, 2017 · 0 comments

Comments

@rynowak
Copy link
Member

rynowak commented Apr 10, 2017

This is needed to delete MVC's "is it a page or not" functionality.

This will work by replacing the tokenizer with an implementation that will tokenize up to the first directive, and then to the end of the line before ending the token sequence.

This means we don't have to many any modifications to the parser, we just have to decorate the tokenizer.

This is a cheaper plan for implementing this functionality than we earlier planned, and should make it so that MVC deals with important things like a license header, which should be allowed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

No branches or pull requests

3 participants