Skip to content

Commit 99aa8b3

Browse files
committed
fixed a bug
1 parent 19d32d6 commit 99aa8b3

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

HTVM.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,6 +2476,8 @@ std::vector<std::string> items62 = LoopParseFunc(str_2, "\n", "\r");
24762476
for (size_t A_Index62 = 1; A_Index62 < items62.size() + 1; A_Index62++)
24772477
{
24782478
std::string A_LoopField62 = items62[A_Index62 - 1];
2479+
if (SubStr (A_LoopField62 , 1 , StrLen (keyWordFunc))!= keyWordFunc)
2480+
{
24792481
if (langToTranspileTo == "cpp")
24802482
{
24812483
if (Trim (A_LoopField62)!= "")
@@ -2570,6 +2572,7 @@ str123 = replaceTheOSPpathsPY_JS ( str123 , A_LoopField62 ) ;
25702572
}
25712573
}
25722574
}
2575+
}
25732576
return str123;
25742577
}
25752578
//;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

HTVM.exe

512 Bytes
Binary file not shown.

HTVM.htpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,6 +2116,9 @@ str ALoopField1 := ""
21162116
Loop, Parse, str_2, `n, `r
21172117
{
21182118

2119+
if (SubStr(A_LoopField, 1, StrLen(keyWordFunc)) != keyWordFunc)
2120+
{
2121+
21192122
if (langToTranspileTo = "cpp")
21202123
{
21212124

@@ -2226,6 +2229,7 @@ str123 := replaceTheOSPpathsPY_JS(str123, A_LoopField)
22262229

22272230

22282231

2232+
}
22292233
}
22302234

22312235

IDE/scrollPosArray.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ undefined
3535
8281.43999868164
3636
10584
3737
0
38-
1744
39-
1240
40-
106
38+
2700.1600364746114
39+
2417.920044934085
40+
1954
4141
3109

0 commit comments

Comments
 (0)