/*
// ColdMUD was created and is copyright 1993, 1994 by Greg Hudson
//
// ColdX is a derivitive work, and is copyright 1995 by the ColdX Project.
// Full copyright information can be found in the file doc/CREDITS
//
// File:        grammar.h
// Version:     0.1-5
// Last Edited: 18 May 1995
//
// ---
//
// Declarations for the parser.
*/

#ifndef GRAMMAR_H
#define GRAMMAR_H
#include <stdarg.h>
#include "object.h"
#include "data.h"

/* #define YYERROR_VERBOSE  */

int coldcc(List * code);
Method *compile(Object *object, List *code, List **error_ret);
void compiler_error(int lineno, char *fmt, ...);
int no_errors(void);

#endif