/*
* syntax.h: Data types to represent language syntax
*
- * Copyright (C) 2007-2011 David Lutterkort
+ * Copyright (C) 2007-2015 David Lutterkort
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
};
};
-/* Return an exception value with error == 1 (and seen == 1) */
-struct value *exn_error(void);
-
/* All types except for T_ARROW (functions) are simple. Subtype relations
* for the simple types:
* T_STRING <: T_REGEXP
struct info *info);
struct term *make_app_ident(char *id, struct term *func, struct info *info);
+/* Print a tree in the braces style used in modules */
+void print_tree_braces(FILE *out, int indent, struct tree *tree);
+
/* Make an EXN value
* Receive ownership of INFO
*
struct module *builtin_init(struct error *);
-int load_module_file(struct augeas *aug, const char *filename);
+int load_module_file(struct augeas *aug, const char *filename, const char *name);
/* The name of the builtin function that checks recursive lenses */
#define LNS_CHECK_REC_NAME "lns_check_rec"