Hi,

I was able to reproduce this issue.

The precompiler accepts:

EXEC SQL GET DESCRIPTOR d :desc_count1 = count, :desc_count2 = count;

but generates invalid C code with concatenated variables, which fails at
compile time.

After applying the patch and rebuilding ecpg, the same statement is now
rejected during preprocessing with a syntax error. So the patch works as
expected.

Thanks for the fix.

Regards,
Lakshmi G

Reply via email to