[PATCH] Choose syntax

Leonard den Ottolander leonard at den.ottolander.nl
Tue Jul 12 11:07:46 UTC 2005


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





More information about the mc-devel mailing list