/* @@@HEAD@@@
// Declarations for the parser.
*/

#ifndef _grammar_h_
#define _grammar_h_

#include <stdarg.h>
#include "cdc_types.h"
#include "object.h"
#include "list.h"

method_t * compile(object_t *object, list_t * code, list_t ** error_ret);
void       compiler_error(int lineno, char * fmt, ...);
int        no_errors(void);

#endif