diff options
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index b031265..f986531 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -854,7 +854,14 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName) g_lineNr = 1; g_condStack.clear(); g_condStack.setAutoDelete(TRUE); - BEGIN(Scan); + if (g_lang==SrcLangExt_Markdown) + { + BEGIN(CComment); + } + else + { + BEGIN(Scan); + } yylex(); while (!g_condStack.isEmpty()) { |