[Aldor-l] #line bugfix
Laurentiu Dragan
ldragan at aldor.org
Tue Dec 11 10:12:14 EST 2007
Ralf Hemmecke wrote:
> On 12/10/2007 08:06 PM, Laurentiu Dragan wrote:
>> I have included the patch for #line directive.
>
> Thank you.
>
> The log message:
> patch for #line directive to show a proper error message when the file
> is not found.
> is a bit misleading, though, since this simple patch also corrects
> misbehaviour in case the corresponding file is found.
Sorry about the misleading message.
>
>> The old code is still present. The behavior can be reverted to the
>> old one by setting to 0 the macro EDIT_1_0_n2_09 defined in
>> aldor/src/editlevels.h.
>
> That is not quite true. Look at the differences, the old code contained
> an "else".
I updated the repository. Please take a look and let me know if it is
okay now.
>
> BTW, there seem to be some guidelines of how code should be changed.
> (Editlevels) Since they are not public, nobody can follow them. In fact,
> it would be good if any available documentation about the compiler is
> put online.
To my knowledge, all documentation is already available.
All patches should be guarded by EDIT_* to be easily enabled/disabled.
--
Laurentiu
More information about the Aldor-l
mailing list