File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1161,7 +1161,7 @@ export class CodeZoneManager {
1161
1161
} else if ( zone . type === CodeZoneManager . ZONE_TYPE . OPT_VALUE ) {
1162
1162
type = CodeZoneManager . ZONE_TYPE . PROC_STMT_OPT_VALUE ;
1163
1163
} else if ( zone . type === CodeZoneManager . ZONE_TYPE . SUB_OPT_NAME ) {
1164
- const stmtWithDatasetOption = LexerEx . prototype . stmtWithDatasetOption_ ;
1164
+ const stmtWithDatasetOption = LexerEx . stmtWithDatasetOption_ ;
1165
1165
if ( stmtWithDatasetOption [ this . _procName + "/" + stmt . text ] ) {
1166
1166
type = CodeZoneManager . ZONE_TYPE . DATA_SET_OPT_NAME ;
1167
1167
} else if (
Original file line number Diff line number Diff line change @@ -1834,7 +1834,7 @@ export class LexerEx {
1834
1834
}
1835
1835
return token ;
1836
1836
}
1837
- stmtWithDatasetOption_ = arrayToMap ( [
1837
+ static readonly stmtWithDatasetOption_ = arrayToMap ( [
1838
1838
//special
1839
1839
"DATA/SET" ,
1840
1840
"DATA/MERGE" ,
@@ -1897,7 +1897,7 @@ export class LexerEx {
1897
1897
subOptName ,
1898
1898
pos ,
1899
1899
) . isKeyword ||
1900
- ( this . stmtWithDatasetOption_ [
1900
+ ( LexerEx . stmtWithDatasetOption_ [
1901
1901
this . curr . procName + "/" + this . curr . name
1902
1902
]
1903
1903
? this . syntaxDb . isDatasetKeyword ( subOptName )
@@ -1950,7 +1950,7 @@ export class LexerEx {
1950
1950
subOptName ,
1951
1951
) ;
1952
1952
if ( ! isKeyword ) {
1953
- if ( this . stmtWithDatasetOption_ [ "DATA/" + this . curr . name ] ) {
1953
+ if ( LexerEx . stmtWithDatasetOption_ [ "DATA/" + this . curr . name ] ) {
1954
1954
isKeyword = this . syntaxDb . isDatasetKeyword ( subOptName ) ;
1955
1955
}
1956
1956
}
You can’t perform that action at this time.
0 commit comments