Skip to content

Commit 44a79e2

Browse files
committed
correct problem first empty line for ~~~freefem
1 parent 23f7527 commit 44a79e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fflib/lex.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ int mylex::EatCommentAndSpace(string *data)
264264
ffassert(count++<100);
265265
eatspaces();
266266
// eat markdown <CR>~~~ or comment
267-
if(ifblock('~')==1 ||ifblock('`')==1 ) {
267+
if(incomment==1 && (ifblock('~')==1 ||ifblock('`')==1 )) {
268268
LineNumber();// eat CR ???
269269
incomment=3;// in markdown
270270
cnl=1; // starting line !!

0 commit comments

Comments
 (0)