Diff for /gforth/vmgen-ex/mini.y between versions 1.4 and 1.5

version 1.4, 2003/03/09 15:17:09 version 1.5, 2003/08/25 14:17:55
Line 1 Line 1
 /* front-end compiler for vmgen example  /* front-end compiler for vmgen example
   
   Copyright (C) 2001,2002 Free Software Foundation, Inc.    Copyright (C) 2001,2002,2003 Free Software Foundation, Inc.
   
   This file is part of Gforth.    This file is part of Gforth.
   
Line 40  int vm_debug; Line 40  int vm_debug;
   
 void yyerror(char *s)  void yyerror(char *s)
 {  {
     fprintf (stderr, "%s: %d: %s\n", program_name, yylineno, s);  #if 1
     /* for pure flex call */
     fprintf(stderr, "%s: %s\n", program_name, s);
   #else
     /* lex or flex -l supports yylineno */
     fprintf (stderr, "%s: %d: %s\n", program_name, yylineno, s);
   #endif
 }  }
   
 #include "mini-gen.i"  #include "mini-gen.i"

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


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