If you do something like:
uses
SomeUnit, AnotherUnit, ;
const
int_width = 6 ;
You'll get an error of the form:
module/unit `int_width' could not be compiled
It seems the parser sees the last comma of the unit list and skips
until the next identifier in searching for the next unit, instead of
running into the semicolon and thinking "whoa, we're missing a unit
name".
It manages to skip the const without complaining about that either (I
have no unit named const, btw!)
This is kind-of low priority as I can't imagine too many people
repeating this (!) and the 'module/unit' in the error message gives
you enough of a hint of where to look.
Still, its "interesting" :-)
Grant
--
-------------------------------------------------------------------
Grant Jacobs Ph.D. BioinfoTools
ph. +64 3 476 1820 (office, after 10am) PO Box 6129,
or +64 25 601 5917 (mobile) Dunedin,
gjacobs@bioinfotools.com NEW ZEALAND.
Bioinformatics tools: deriving knowledge from biological data
Bioinformatics tools - software development - consulting - training
Check out the website for more details:
http://www.bioinfotools.com
The information contained in this mail message is confidential and
may be legally privileged. Readers of this message who are not the
intended recipient are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited. If you
have received this message in error please notify the sender immed-
iately and destroy the original message. This applies also to any
attached documents.