gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Another one, self explaining...


From: gaius
Subject: Re: [Gm2] Another one, self explaining...
Date: Thu, 05 Aug 2010 10:52:33 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Dragiša Durić <address@hidden> writes:

> TestCase2.mod:6:3: error: procedure (B) was declared with more
> parameters in the DEFINITION MODULE
>
> =============================
>
> DEFINITION MODULE TestCase2;
>
> PROCEDURE B(b: INTEGER);
>
> END TestCase2.
> IMPLEMENTATION MODULE TestCase2;
>
>
> PROCEDURE A();
>
>   PROCEDURE B();
>     BEGIN
>     END B;
>
>   BEGIN
>   END A;
>   
> PROCEDURE B(b: INTEGER);
>   BEGIN
>   END B;
>   
> END TestCase2.
>
> -- 
> Dragiša Durić <address@hidden>

Hi Dragisha,

many thanks for the bug report and test code - now fixed in the latest cvs:

      * gm2/gm2-compiler/SymbolTable.mod:  GetScopeSym has a second
        parameter, throughProcedure.  (New procedure) CanLookThroughScope.
        Added second actual parameter to calls of GetScopeSym.
 
regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]