comparison tools/mb_c_source.m4 @ 333:bdf36a26e420

Make generated code clean. - Before changes, generated code include a lot of redundant empty lines. - Add dnl after each command when svg2code.py generates code lines.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 07 Mar 2009 10:55:42 +0800
parents 9fa4459c08a9
children 700954870cee
comparison
equal deleted inserted replaced
332:f90c60967a9c 333:bdf36a26e420
441 static 441 static
442 mb_sprite_lsym_entry_t $1_symbols[] = {]DECLARE_SYMS 442 mb_sprite_lsym_entry_t $1_symbols[] = {]DECLARE_SYMS
443 $2[ 443 $2[
444 }; 444 };
445 445
446 ]DEFINE_SCENES 446 ]DEFINE_SCENES[]dnl
447 $2 447 $2[]dnl
448 DEFINE_SCENES_ARRAY 448 DEFINE_SCENES_ARRAY[]dnl
449 static const int *$1_scenes[[]] = { 449 static const int *$1_scenes[[]] = {
450 $2[]dnl 450 $2[]dnl
451 NULL 451 NULL
452 };[ 452 };[
453 453