Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
5b991f92
...
5b991f927f9d8efa8e1b442db7ca8fdfd60c2bb3
authored
2004-06-12 10:30:50 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Provide forward declarations for yyerror and yylex.
1 parent
dbd6563f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
libsieve/sieve.y
mh/mh_fmtgram.y
libsieve/sieve.y
View file @
5b991f9
...
...
@@ -28,7 +28,8 @@ sieve_machine_t sieve_machine;
int sieve_error_count;
static void branch_fixup __P((size_t start, size_t end));
int yyerror (char *s);
int yylex ();
%}
%union {
...
...
@@ -509,7 +510,7 @@ string_comp (const void *item, const void *value)
}
void
sieve_machine_begin (sieve_machine_t mach, char *file)
sieve_machine_begin (sieve_machine_t mach, c
onst c
har *file)
{
sieve_machine = mach;
sieve_error_count = 0;
...
...
mh/mh_fmtgram.y
View file @
5b991f9
%{
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2004
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -20,7 +20,10 @@
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
#include <obstack.h>
int yyerror (char *s);
int yylex ();
static mh_format_t format; /* Format structure being built */
static size_t pc; /* Program counter. Poins to current
cell in format.prog */
...
...
Please
register
or
sign in
to post a comment