Skip to content

Commit 8d12e42

Browse files
committed
CALL呼び出しのキャッシュに関する不具合を修正した.
1 parent d676d81 commit 8d12e42

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

libcobj/src/jp/osscons/opensourcecobol/libcobj/call/CobolResolve.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,18 @@ static public CobolRunnable resolve(String name) throws CobolCallException {
191191
String fullName;
192192
CobolRunnable runnable = null;
193193

194-
/* search the cache */
195-
if(callTable.containsKey(name)) {
196-
return callTable.get(name);
197-
}
198-
199194
/* encode program name */
200195
char c1 = name.charAt(0);
201196
if(c1 >= '0' && c1 <= '9') {
202197
name = "_" + name;
203198
}
204199
name = name.replaceAll("-", "__");
205200

201+
/* search the cache */
202+
if(callTable.containsKey(name)) {
203+
return callTable.get(name);
204+
}
205+
206206
if(name_convert == 1) {
207207
name = name.toLowerCase();
208208
}else if(name_convert == 2) {

tests/cobol85/report.pl

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -254,31 +254,31 @@
254254
#$skip{SQ303M}=1;
255255
#$skip{SQ401M}=1;
256256

257-
$skip{IC101A}=1;
258-
$skip{IC103A}=1;
259-
$skip{IC106A}=1;
260-
$skip{IC108A}=1;
261-
$skip{IC112A}=1;
262-
$skip{IC114A}=1;
263-
$skip{IC116M}=1;
264-
$skip{IC201A}=1;
265-
$skip{IC203A}=1;
266-
$skip{IC207A}=1;
267-
$skip{IC209A}=1;
268-
$skip{IC213A}=1;
269-
$skip{IC216A}=1;
270-
$skip{IC222A}=1;
271-
$skip{IC223A}=1;
272-
$skip{IC224A}=1;
273-
$skip{IC225A}=1;
274-
$skip{IC226A}=1;
275-
$skip{IC227A}=1;
257+
#$skip{IC101A}=1;
258+
#$skip{IC103A}=1;
259+
#$skip{IC106A}=1;
260+
#$skip{IC108A}=1;
261+
#$skip{IC112A}=1;
262+
#$skip{IC114A}=1;
263+
#$skip{IC116M}=1;
264+
#$skip{IC201A}=1;
265+
#$skip{IC203A}=1;
266+
#$skip{IC207A}=1;
267+
#$skip{IC209A}=1;
268+
#$skip{IC213A}=1;
269+
#$skip{IC216A}=1;
270+
#$skip{IC222A}=1;
271+
#$skip{IC223A}=1;
272+
#$skip{IC224A}=1;
273+
#$skip{IC225A}=1;
274+
#$skip{IC226A}=1;
275+
#$skip{IC227A}=1;
276276
#$skip{IC228A}=1;
277-
$skip{IC233A}=1;
278-
$skip{IC234A}=1;
279-
$skip{IC235A}=1;
280-
$skip{IC237A}=1;
281-
$skip{IC401M}=1;
277+
#$skip{IC233A}=1;
278+
#$skip{IC234A}=1;
279+
#$skip{IC235A}=1;
280+
#$skip{IC237A}=1;
281+
#$skip{IC401M}=1;
282282

283283
#$skip{ST101A}=1;
284284
#$skip{ST102A}=1;

0 commit comments

Comments
 (0)