File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ std::string Script::readExpr(char stopToken) {
390390 skip (dimCount);
391391
392392 for (int i = 0 ; i < dimCount; i++)
393- expr += readExpr (12 ) + " ->" ;
393+ expr += " { " + readExpr (12 ) + " ->" ;
394394
395395 expr += " #" ;
396396
@@ -461,7 +461,7 @@ std::string Script::readExpr(char stopToken) {
461461 arrDesc = _ptr;
462462 skip (dimCount);
463463 for (dim = 0 ; dim < dimCount; dim++) {
464- expr += readExpr (12 ) + printStr (" of %d" , (int16) arrDesc[dim]);
464+ expr += " { " + readExpr (12 ) + printStr (" of %d" , (int16) arrDesc[dim]);
465465 if (dim != dimCount - 1 )
466466 expr += " ][" ;
467467 }
@@ -650,7 +650,7 @@ std::string Script::readVarIndex(uint16 *arg_0, uint16 *arg_4) {
650650 skip (var_A);
651651
652652 for (int i = 0 ; i < var_A; i++)
653- pref += readExpr (12 ) + " ->" ;
653+ pref += " { " + readExpr (12 ) + " ->" ;
654654
655655 pref += " #" ;
656656
@@ -715,7 +715,7 @@ std::string Script::readVarIndex(uint16 *arg_0, uint16 *arg_4) {
715715 arrDesc = _ptr;
716716 skip (dimCount);
717717 for (dim = 0 ; dim < dimCount; dim++) {
718- expr += readExpr (12 );
718+ expr += " { " + readExpr (12 );
719719 expr += printStr (" of %d" , (int16) arrDesc[dim]);
720720 if (dim != dimCount - 1 )
721721 expr += " ][" ;
You can’t perform that action at this time.
0 commit comments