pierre 17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks %!s(int64=8) %!d(string=hai) anos
..
Makefile 17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks %!s(int64=8) %!d(string=hai) anos
Makefile.fpc ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line. %!s(int64=10) %!d(string=hai) anos
Makefile.fpc.fpcmake 94e7cd5a51 * Switched utils to fpmake building %!s(int64=12) %!d(string=hai) anos
Readme.txt 49738994a8 *preprocessor can't read files with proc/func declaration %!s(int64=19) %!d(string=hai) anos
comments.pp 315ce0447b Fix compilation with range check on by redefining tat array in ClearComments procedure %!s(int64=9) %!d(string=hai) anos
demo.h 69fb6245ea Initial implementation %!s(int64=25) %!d(string=hai) anos
demo.pp 50684700d1 * log truncated %!s(int64=25) %!d(string=hai) anos
demo.rc 4a511b5f26 Adapted name to demo.pp instead of demo.pas %!s(int64=25) %!d(string=hai) anos
expr.pp 6e55d519bc *avoid negative value for big const %!s(int64=19) %!d(string=hai) anos
fpmake.pp d407b668d1 * version updated to 3.1.1 %!s(int64=10) %!d(string=hai) anos
fprcp.pp 49738994a8 *preprocessor can't read files with proc/func declaration %!s(int64=19) %!d(string=hai) anos
pasprep.pp 49738994a8 *preprocessor can't read files with proc/func declaration %!s(int64=19) %!d(string=hai) anos
use_demo.bat 952e80a72f * old logs removed and tabs fixed %!s(int64=23) %!d(string=hai) anos

Readme.txt

This binary with source code is released to public domain.
The utility can be compiled by Turbo Pascal (but 16-bit version
cannot handle files greather than 64K!), Delphi or Free Pascal.
fprcp.exe extracts from C header and Pascal files included into
resource scripts numerical constants and replaces these constants
to its values in resource script. Modified resource script is writing
to stdout.

fprcp.exe can be used as preprocessor by windres GNU-win32 utility.
It was tested with windres 2.9.4 successfully.
syntax:
windres --preprocessor fprcp.exe [another switches].

Notes:
1) current fprcp does not support typecasting and operations with
non-numeric constants;
2) Old versions of windres cannot create .res files;
3) in fprcp also source code written by Lars Fosdal 1987 and
released to the public domain 1993 was used
4) updated to accept defines.inc
parser was expecting body for procedure/function declaration

files:
readme.txt - this file

USE_DEMO.BAT |
DEMO.RC |
DEMO.PP - demo files
DEMO.H |

COMMENTS.PP |
PASPREP.PP |
FPRCP.PP - source code
EXPR.PP |

fprcp.exe - executable