Changeset 323 for trunk/thune/console.c

Show
Ignore:
Timestamp:
12/26/06 22:10:34 (2 years ago)
Author:
krobillard
Message:

Rune is now stand-alone.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/console.c

    r310 r323  
    2424 
    2525 
    26 #ifdef LANG_RUNE 
    27 extern void rune_install( UrlanEnv* ); 
    28 #define APPNAME     "Thune-Rune" 
     26#if defined(LANG_RUNE) 
     27#define APPNAME     "Rune" 
    2928#define CUSTOM_DT           0 
    3029#define CUSTOM_DT_COUNT     0 
     
    133132#endif 
    134133 
    135 #ifdef LANG_RUNE 
    136     rune_install( &env ); 
    137 #endif 
    138  
    139134    if( argc > 1 ) 
    140135    { 
     
    173168        cmd[ sizeof(cmd) - 1 ] = -1; 
    174169 
     170#ifdef LANG_THUNE 
    175171        if( (argc - fileN) > 1 ) 
    176172        { 
     
    191187            pos = strCopy( pos, "none :args " ); 
    192188        } 
    193  
     189#endif 
     190 
     191#ifdef LANG_RUNE 
     192        pos = strCopy( pos, "do load " ); 
     193#endif 
    194194        *pos++ = '"'; 
    195195        pos = strCopy( pos, argv[fileN] ); 
    196196        *pos++ = '"'; 
     197#ifdef LANG_THUNE 
    197198        pos = strCopy( pos, " load do" ); 
     199#endif 
    198200 
    199201        assert( cmd[ sizeof(cmd) - 1 ] == -1 && "cmd buffer overflow" );