peter a54a8634aa Merged revisions 375,2257,2261-2262,2271,2296,2376,2443 via svnmerge from há 19 anos atrás
..
Makefile a54a8634aa Merged revisions 375,2257,2261-2262,2271,2296,2376,2443 via svnmerge from há 19 anos atrás
Makefile.fpc 293d6a1671 * Makefile fixes há 24 anos atrás
Readme.txt 94052210ca Merged revisions 1954-1955,1962-1963,1966-1967,1969,1973,1979,1982,1987-1992,1994-1999,2003-2007,2017,2021,2023,2031-2033,2035,2037,2039-2042,2045-2047,2050,2054-2057,2063,2065-2066,2069,2071-2075,2077-2078,2080-2081,2083,2097-2098,2101,2105-2106,2144-2145,2149,2156-2157,2176,2190,2194-2195,2202,2209-2211,2216,2220,2225-2232,2238 via svnmerge from há 20 anos atrás
comments.pp 952e80a72f * old logs removed and tabs fixed há 23 anos atrás
demo.h 69fb6245ea Initial implementation há 26 anos atrás
demo.pp 50684700d1 * log truncated há 26 anos atrás
demo.rc 4a511b5f26 Adapted name to demo.pp instead of demo.pas há 26 anos atrás
expr.pp cef33370ba Merged revisions 2273,2300-2301,2311 via svnmerge from há 19 anos atrás
fprcp.pp 94052210ca Merged revisions 1954-1955,1962-1963,1966-1967,1969,1973,1979,1982,1987-1992,1994-1999,2003-2007,2017,2021,2023,2031-2033,2035,2037,2039-2042,2045-2047,2050,2054-2057,2063,2065-2066,2069,2071-2075,2077-2078,2080-2081,2083,2097-2098,2101,2105-2106,2144-2145,2149,2156-2157,2176,2190,2194-2195,2202,2209-2211,2216,2220,2225-2232,2238 via svnmerge from há 20 anos atrás
pasprep.pp 94052210ca Merged revisions 1954-1955,1962-1963,1966-1967,1969,1973,1979,1982,1987-1992,1994-1999,2003-2007,2017,2021,2023,2031-2033,2035,2037,2039-2042,2045-2047,2050,2054-2057,2063,2065-2066,2069,2071-2075,2077-2078,2080-2081,2083,2097-2098,2101,2105-2106,2144-2145,2149,2156-2157,2176,2190,2194-2195,2202,2209-2211,2216,2220,2225-2232,2238 via svnmerge from há 20 anos atrás
use_demo.bat 952e80a72f * old logs removed and tabs fixed há 23 anos atrás

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