/[mailutils]/mailutils/mh/mh_fmtgram.y
ViewVC logotype

Diff of /mailutils/mh/mh_fmtgram.y

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

revision 1.5 by gray, Mon Nov 4 10:47:59 2002 UTC revision 1.6 by polak, Thu Dec 26 20:51:06 2002 UTC
# Line 1  Line 1 
1  %{  %{
2  /* GNU mailutils - a suite of utilities for electronic mail  /* GNU Mailutils -- a suite of utilities for electronic mail
3     Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
4    
5     This program is free software; you can redistribute it and/or modify     GNU Mailutils is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2, or (at your option)     the Free Software Foundation; either version 2, or (at your option)
8     any later version.     any later version.
9    
10     This program is distributed in the hope that it will be useful,     GNU Mailutils is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.     GNU General Public License for more details.
14    
15     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software     along with GNU Mailutils; if not, write to the Free Software
17     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
18    
19  #include <mh.h>  #include <mh.h>
# Line 94  pitem     : item Line 94  pitem     : item
94                    break;                    break;
95                                        
96                  default:                  default:
97                    yyerror ("UNEXPECTED item TYPE");                    yyerror (_("UNEXPECTED item TYPE"));
98                    abort ();                    abort ();
99                  }                  }
100                $$ = pc;                $$ = pc;
# Line 200  function  : FUNCTION Line 200  function  : FUNCTION
200                  }                  }
201                else                else
202                  {                  {
203                    yyerror ("undefined function");                    yyerror (_("undefined function"));
204                    mh_error ($1);                    mh_error ($1);
205                    YYERROR;                    YYERROR;
206                  }                  }
# Line 615  mh_code_builtin (mh_builtin_t *bp, int a Line 615  mh_code_builtin (mh_builtin_t *bp, int a
615                    break;                    break;
616                                        
617                  default:                  default:
618                    yyerror ("UNKNOWN ARGTYPE");                    yyerror (_("UNKNOWN ARGTYPE"));
619                    abort ();                    abort ();
620                  }                  }
621              }              }
622            else            else
623              {              {
624                mh_error ("missing argument for %s", bp->name);                mh_error (_("missing argument for %s"), bp->name);
625                return 0;                return 0;
626              }              }
627          }          }
# Line 630  mh_code_builtin (mh_builtin_t *bp, int a Line 630  mh_code_builtin (mh_builtin_t *bp, int a
630            switch (bp->argtype)            switch (bp->argtype)
631              {              {
632              case mhtype_none:              case mhtype_none:
633                mh_error ("extra arguments to %s", bp->name);                mh_error (_("extra arguments to %s"), bp->name);
634                return 0;                return 0;
635                                
636              case mhtype_num:              case mhtype_num:

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26