|
Barbara Morris wrote:
Since you didn't say anything about what kind of problem you're having, I'll just guess that your RPG prototype doesn't have at least oneOPTIONS(*NOPASS) parameter.
Thanks, Ms. Morris.Actually, the problem itself isn't with calls to printf; that's simply something I wanted to do in order to embed diagnostics in both the RPG code and the C code, and have them all go to the same place.
The problem is with a parser in RPG, which calls a scanner in C, and it's not with any impedence bumps between the languages; rather, the parser is losing its place, and to figure out what's wrong, I need to know where the scanner is in the token-stream where that's happening.
I've downloaded the page you suggested, but it's looking more and more like, since I'll be sticking a printf into the scanner anyway, I may as well put in a "wrapper" for printf as well, as per an earlier suggestion.
-- JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.