Diff for /gforth/vmgen-ex/support.c between versions 1.4 and 1.6

version 1.4, 2002/07/30 20:55:11 version 1.6, 2003/03/09 15:17:09
Line 1 Line 1
 /* support functions and main() for vmgen example  /* support functions and main() for vmgen example
   
   Copyright (C) 2001 Free Software Foundation, Inc.    Copyright (C) 2001,2003 Free Software Foundation, Inc.
   
   This file is part of Gforth.    This file is part of Gforth.
   
Line 156  int main(int argc, char **argv) Line 156  int main(int argc, char **argv)
   int disassembling = 0;    int disassembling = 0;
   int profiling = 0;    int profiling = 0;
   int c;    int c;
   Inst vm_code[CODE_SIZE];    Inst *vm_code=(Inst *)calloc(CODE_SIZE,sizeof(Inst));
   Inst *start;    Inst *start;
   Cell stack[STACK_SIZE];    Cell *stack=(Cell *)calloc(STACK_SIZE,sizeof(Cell));
   engine_t runvm=engine;    engine_t runvm=engine;
   
   while ((c = getopt(argc, argv, "hdpt")) != -1) {    while ((c = getopt(argc, argv, "hdpt")) != -1) {

Removed from v.1.4  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>