Skip to content
Snippets Groups Projects
Commit 7997c5d1 authored by Sebastian Wilzbach's avatar Sebastian Wilzbach Committed by Adrian Heine né Lang
Browse files

D Mode: Fix nested comments

parent 92ee3d2b
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ CodeMirror.defineMode("d", function(config, parserConfig) {
}
if (ch == "/") {
if (stream.eat("+")) {
state.tokenize = tokenComment;
state.tokenize = tokenNestedComment;
return tokenNestedComment(stream, state);
}
if (stream.eat("*")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment