/[cvs]/stack/stack.c
ViewVC logotype

Diff of /stack/stack.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by teddy, Thu Feb 7 23:55:21 2002 UTC revision 1.54 by teddy, Fri Feb 8 00:25:57 2002 UTC
# Line 99  void free_val(value *val){ Line 99  void free_val(value *val){
99        }        }
100        free(val);                /* Free the actual list value */        free(val);                /* Free the actual list value */
101        break;        break;
102      default:      case integer:
103        case func:
104        case symb:
105        break;        break;
106      }      }
107    }    }
# Line 205  char *mangle_str(const char *old_string) Line 207  char *mangle_str(const char *old_string)
207    strcpy(new_string, "sx_");    /* Stack eXternal */    strcpy(new_string, "sx_");    /* Stack eXternal */
208    current=new_string+3;    current=new_string+3;
209    while(old_string[0] != '\0'){    while(old_string[0] != '\0'){
210      current[0]=validchars[old_string[0]/16];      current[0]=validchars[(unsigned char)(old_string[0])/16];
211      current[1]=validchars[old_string[0]%16];      current[1]=validchars[(unsigned char)(old_string[0])%16];
212      current+=2;      current+=2;
213      old_string++;      old_string++;
214    }    }
# Line 539  extern void eval(environment *env) Line 541  extern void eval(environment *env)
541      free(temp_string);      free(temp_string);
542      break;      break;
543    
544    default:    case integer:
545        break;
546    }    }
547  }  }
548    

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.54

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26