Changeset 11551 for lang/c

Show
Ignore:
Timestamp:
05/14/08 08:38:01 (6 months ago)
Author:
mokehehe
Message:

include を専用のディレクトリに

Location:
lang/c/misc/mlisp
Files:
2 modified
2 moved

Legend:

Unmodified
Added
Removed
  • lang/c/misc/mlisp/core/c_compiler.cpp

    r11550 r11551  
    262262SExp compile_block(SExp sexps, SExp e, SExp next) { 
    263263        return nil; 
     264} 
     265 
     266static SExp compile_define(SExp var, SExp body, SExp e, SExp s, SExp next) { 
     267        while (consp(var)) { 
     268                body = list(3, intern("lambda"), cdr(var), body); 
     269                var = car(var); 
     270        } 
     271        return compile(body, e, s, list(3, DEFINE, var, next)); 
    264272} 
    265273 
     
    316324                        SExp var = cadr(x); 
    317325                        SExp body = caddr(x); 
    318                         return compile(body, e, s, list(3, DEFINE, var, next)); 
     326                        return compile_define(var, body, e, s, next); 
    319327                } else { 
    320328                        SExp args = cdr(x); 
  • lang/c/misc/mlisp/mlisp.vcproj

    r11550 r11551  
    1313                <Configuration 
    1414                        Name="Debug|Win32" 
    15                         OutputDirectory="Debug" 
    16                         IntermediateDirectory="Debug" 
     15                        OutputDirectory="obj\Debug" 
     16                        IntermediateDirectory="obj\Debug" 
    1717                        ConfigurationType="1" 
    1818                        CharacterSet="2"> 
     
    2020                                Name="VCCLCompilerTool" 
    2121                                Optimization="0" 
    22                                 AdditionalIncludeDirectories="core" 
     22                                AdditionalIncludeDirectories="inc" 
    2323                                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" 
    2424                                MinimalRebuild="TRUE" 
     
    6363                <Configuration 
    6464                        Name="Release|Win32" 
    65                         OutputDirectory="Release" 
    66                         IntermediateDirectory="Release" 
     65                        OutputDirectory="obj\Release" 
     66                        IntermediateDirectory="obj\Release" 
    6767                        ConfigurationType="1" 
    6868                        CharacterSet="2"> 
    6969                        <Tool 
    7070                                Name="VCCLCompilerTool" 
    71                                 AdditionalIncludeDirectories="core" 
     71                                AdditionalIncludeDirectories="inc" 
    7272                                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" 
    7373                                RuntimeLibrary="4"