From 7997c5d13326abbf5afcd3778d39b3e81c8629ff Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach <seb@wilzba.ch> Date: Mon, 24 Jul 2017 06:21:44 +0200 Subject: [PATCH] D Mode: Fix nested comments --- mode/d/d.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/d/d.js b/mode/d/d.js index c927a7e35..77b09c224 100644 --- a/mode/d/d.js +++ b/mode/d/d.js @@ -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("*")) { -- GitLab