Re: [PATCH] Choose syntax



Hi Pavel,

On Tue, 2005-07-12 at 09:14, Pavel Tsekov wrote:
> I know that it is cleaner and better. The macro is something that is
> handled by the preprocessor i.e. before the compiler steps in. So the
> compiler doesn't know anything about MAX_ENTRY_LEN . If it knew it could
> do useful checks (like typechecking and more) and certain smart decisions
> (if the compiler is smart enough :) ). Also you cannot have debugging
> information for a macro.

So would this also be the case for MAX_SYNTAX_FILES? The #defines like
in syntax.h are very common. Bad practice?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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