-
Notifications
You must be signed in to change notification settings - Fork 733
Closed
Labels
A-lexingarea: changes to individual lexersarea: changes to individual lexers
Milestone
Description
With the following code as an example
/**
* @param {*} cool
*/
func = function(cool) {
};
/**
* @param {*} stuff
*/
fun = function(stuff) {
};
For some reason the first '*' in '{*}' causes everything after it to be marked a Token.Comment until you hit the second '{*}'. The weirder thing is the behaviour only happens if both '{*}' are present. Remove either one of the '{*}' and it works as expected. Is there a formatter, filter, or another lexer I'm supposed to use to help with doxygen comments?
I confirmed this by running it through the demo you have on your website.
Just to clarify I'm using the javascriptDjangoLexer and I see the behaviour already happen before my filters run so its not any of my custom filters or formatters making something weird happen.
For reference of the correctness of the commenting you can look at JSDoc here
Metadata
Metadata
Assignees
Labels
A-lexingarea: changes to individual lexersarea: changes to individual lexers