[fpc-pascal] run pascal programs as scripts

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Mar 24 22:50:44 CET 2011


On Thu, 24 Mar 2011 22:40:22 +0100
Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> wrote:

> On Thu, Mar 24, 2011 at 7:27 PM, Mark Morgan Lloyd
> <markMLl.fpc-pascal at telemetry.co.uk> wrote:
> > Would it be feasible to modify FPC so that it discarded everything preceding
> > "program", "unit" etc?
> 
> Feasable, yes, but it is probably easier to make a pre-processor which
> removes this line, simply.

Commenting is better. Then the reported error line numbers are still
valid.

Mattias




More information about the fpc-pascal mailing list