This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/parser/gm-parser.h

23 lines
367 B
C

#ifndef __GM_PARSER_H__
#define __GM_PARSER_H__
#include <glib.h>
typedef struct _GmParserResult {
gboolean isOk;
GList *errors;
GList *warnings;
} GmParserResult;
typedef struct _GmParserError {
gchar *message;
gint line;
gint ch;
} GmParserError;
GmParserResult *gm_parser_parse(GList *code);
void gm_parser_result_free(GmParserResult *result);
#endif