opensourcecobol / gnucobol-osscons-patch

OSS consortium patched version of GnuCOBOL.
GNU Lesser General Public License v3.0
6 stars 6 forks source link

COPY REPLACINGでの空白置換 #29

Open n-isaka opened 6 months ago

n-isaka commented 6 months ago

COPY句のREPLACINGを行う際に、ホストでは対象が空白になっているものが許容される。 この場合、一般的に該当のREPLACINGは無視されるが、GnuCOBOLではコンパイルが異常終了となる。

           COPY  TESTCPY REPLACING
                 == == BY =="NOTSPACE"==.

ホスト互換機能として、仕様検討を行う

GitMensch commented 3 months ago

Can you please post a complete testcase in autotest format (source, copybook, compile with expected result)? I think this may be solved in the meantime but I likely misunderstand the issue text - if you could provide that in English as well, this would help.