From 882906b3c391e6841b186330824295f439955ddf Mon Sep 17 00:00:00 2001 From: keie Date: Thu, 31 Jan 1985 14:50:15 +0000 Subject: [PATCH] Added a few sentences about the capability of ack to preprocess Pascal programs and one restriction that imposes on programs using it. --- doc/pcref.doc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/pcref.doc b/doc/pcref.doc index b2cd3c335..0cf420318 100644 --- a/doc/pcref.doc +++ b/doc/pcref.doc @@ -1334,6 +1334,19 @@ Alternate symbol representation. .sp The comment delimiters '(*' and '*)' are recognized and treated like '{' and '}'. The other alternate representations of symbols are not recognized. +.sp +.ti -3 +9.~\ +Pre-processing. +.sp +If the very first character of a file containing a Pascal +program is the sharp ('#', ASCII 23(hex)) the file is preprocessed +in the same way as C programs. +Lines beginning with a '#' are taken as preprocessor command lines +and not fed to the Pascal compiler proper. +C style comments, /*......*/, are removed by the C preprocessor, +thus C comments inside Pascal programs are also removed when they +are fed through the preprocessor. .CH "Deviations from the standard" Ack-Pascal deviates from the (March 1980) standard proposal in the following ways: .IS