It ignores the 'source' parameter, which has been introduced in issue-#88.
Should the 'source' parameter be removed again or should it be used?
In other words: is searching in source code language dependent or not?
Since the compiler does not look up source files according to the selected language,
I think it does not give sense to do a language dependent search for sources.
So the fix would be to use the 'search' parameter instead of ignoring it.
Change the first line from
Code: Select all
IF (Dialog.language # "") & (Dialog.language # "en") THEN
v := Views.OldView(loc.This(Dialog.language), name)
ELSE v := NIL
END;
Code: Select all
IF ~source & (Dialog.language # "") & (Dialog.language # "en") THEN
v := Views.OldView(loc.This(Dialog.language), name)
ELSE v := NIL
END;
- Josef