Technically it isn't a reserved word, or at least not a keyword. Either way the compiler allows it, but the result is peculiar.  It probably shouldn't be allowed in that case.

Gareth aka. Kit

On 26/11/2020 15:58, Bart via fpc-devel wrote:
On Thu, Nov 26, 2020 at 4:34 PM J. Gareth Moreton via fpc-devel
<fpc-devel@lists.freepascal.org> wrote:

P.S. Also, there seems to be a strange, unrelated glitch.  If I rename
the file to "break.pp" and change the program name to "break" (from
breakp), the compiled binary doesn't seem to write output (or it
immediately exits - can't tell yet).  I'm not sure if this is because of
the program name being the same as an instruction or what.
Isn't break a reserved word?


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to