Re: Re: Compiler indentation

Stefano Corsi <[email protected]> Mon, 27 Jan 2003 14:28:15 +0000
Newsgroups gmane.comp.lang.moto.devel
Organization Moto Project
Message-ID <[email protected]>
> This I'm not sure of. As you saw when implementing inline declarations,
> when the scopes for interpreted vs compiled code differ its often a
> sign that we're doing something we shouldn't be :) . By attaching
> indentation levels to scopes we enforce this idea visually. Perhaps we
> should be pushing new scopes onto the stack where indentation doesn't
> match scope depth currently. Where is this happening now ?

You are right. We have to stay with the scope pointer. I must give a deeper 
look to motoc.c to see where the match fails.
I make a patch on the whole motoc.c file when I find something more about it.

	Stefano