On 2020-01-28 16:41, Dimitry Sibiryakov wrote:
28.01.2020 13:26, Alex Peshkoff via Firebird-devel wrote:
Modern code does not use defines for constants.

Certainly, but the problem is with old one, particular consts_pub.h.

  It is a matter of one-time copy-paste and search-and-replace. Perhaps, sed can transform all "#define XXX NNN" into "const int XXX = NNN;" in one pass.



awk definitely can




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to