id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
93,Module names need to be filtred in generated C code,erikd@…,benl,"
If a code module is named 'hello-world.ds' containing:

   main = print ""Hello World.""

the generated C code will result in output C code with illegal C identifiers like:


#include ""hello-world.ddc.h""


Obj**   _ddcCAF_hello-world_main = 0;


Obj*    __symddcInitModule_helloMsworld ()
{
        /**/      _ddcCAF_hello-world_main = _ddcSlotPtr++;
        /**/      _CAF(hello-world_main) = 0;
        /**/      _CAF(hello-world_main) = hello-world_main();
        
}


Obj*    hello-world_main        ()
{
        Obj*         _vxSS0;
        _ENTER (2);
         
        __symhelloMsworld_main_start:
        _S(0)                   = Data_String_boxString(""Hello world!"");
        _S(1)                   = System_Console_print (_S(0));
        _vxSS0                  = _S(1);
        _LEAVE (2);
        return _vxSS0;
}


",defect,closed,trivial,0.1.3,Compilation Driver,0.1.2,fixed,,
