Skip to content

Commit 23f7527

Browse files
committed
correction install windows (cf WindowsPackage.m4)
coorect in scan.cpp empty markdown section
1 parent b1e524c commit 23f7527

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

etc/config/m4/WindowsPackage.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ AppName=FreeFem++-win`'SIZEOFPTR-VERSION
2222
AppVerName=FreeFem++ version VERSION (win SIZEOFPTR bits)
2323
DefaultDirName={pf}\FreeFem++`'SUFF64
2424
DefaultGroupName=FreeFem++`'SUFF64
25-
25+
PrivilegesRequired=admin
2626
Compression=lzma
2727
SolidCompression=yes
2828
ChangesAssociations=yes
@@ -205,7 +205,7 @@ Name: modifypath; Description: &Add application directory to your system path (i
205205
[Code]
206206
const
207207
ModPathName = 'modifypath';
208-
ModPathType = 'user';
208+
ModPathType = 'system';
209209

210210
function ModPathDir(): TArrayOfString;
211211
begin

src/fflib/lex.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ int mylex::EatCommentAndSpace(string *data)
267267
if(ifblock('~')==1 ||ifblock('`')==1 ) {
268268
LineNumber();// eat CR ???
269269
incomment=3;// in markdown
270+
cnl=1; // starting line !!
270271
}
271272
if(incomment==1)
272273
{// normal case
@@ -332,6 +333,7 @@ int mylex::EatCommentAndSpace(string *data)
332333
if (nnn.find("~~~freefem")==0 ||nnn.find("```freefem")==0) // we find => end MD
333334
end = 1;
334335
// cr eat by getline
336+
cnl=1; // starting line !!
335337
}
336338
while(!source().eof() && end == 0 ) ;
337339
if (echo) cout << "\n" << setw(5) <<linenumber << this->sep() ;

0 commit comments

Comments
 (0)