|
|
@@ -476,7 +476,7 @@ function preprocessImportingFiles()
|
|
|
{
|
|
|
%line = $ProjectImporter::fileObject.readLine();
|
|
|
|
|
|
- if(strIsMatchExpr("*new*(*)*", %line) && !strIsMatchExpr("*\"*new*(*)*\"*", %line))
|
|
|
+ if(strIsMatchExpr("* new*(*)*", %line))
|
|
|
{
|
|
|
%start = strpos(%line, "new ");
|
|
|
%end = strpos(%line, "(", %start);
|
|
|
@@ -530,7 +530,7 @@ function preprocessImportingFiles()
|
|
|
%insideObjectBlock = true;
|
|
|
}
|
|
|
}
|
|
|
- else if(strIsMatchExpr("*datablock*(*)*", %line))
|
|
|
+ else if(strIsMatchExpr("* datablock*(*)*", %line))
|
|
|
{
|
|
|
%start = strpos(%line, "datablock ");
|
|
|
%end = strpos(%line, "(", %start);
|
|
|
@@ -584,7 +584,7 @@ function preprocessImportingFiles()
|
|
|
%insideObjectBlock = true;
|
|
|
}
|
|
|
}
|
|
|
- else if(strIsMatchExpr("*singleton*(*)*", %line))
|
|
|
+ else if(strIsMatchExpr("* singleton*(*)*", %line))
|
|
|
{
|
|
|
%start = strpos(%line, "singleton ");
|
|
|
%end = strpos(%line, "(", %start);
|