fpc/utils/fprcp
fpc 790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
..
comments.pp * old logs removed and tabs fixed 2002-09-07 15:40:30 +00:00
demo.h Initial implementation 2000-01-10 15:31:40 +00:00
demo.pp * log truncated 2000-02-09 16:44:14 +00:00
demo.rc Adapted name to demo.pp instead of demo.pas 2000-01-10 15:44:30 +00:00
expr.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
fprcp.pp * removed warning/notes 2000-06-01 10:59:22 +00:00
Makefile * use current fpcmake instead of from 1.9.8 2005-05-05 13:28:47 +00:00
Makefile.fpc * Makefile fixes 2001-05-03 21:35:04 +00:00
pasprep.pp * log truncated 2000-02-09 16:44:14 +00:00
Readme.txt extension changes 2000-01-10 15:46:23 +00:00
use_demo.bat * old logs removed and tabs fixed 2002-09-07 15:40:30 +00:00

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

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