summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.declarations
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/grammar.declarations')
-rw-r--r--dimension/grammar.declarations11
1 files changed, 1 insertions, 10 deletions
diff --git a/dimension/grammar.declarations b/dimension/grammar.declarations
index c951758..247e903 100644
--- a/dimension/grammar.declarations
+++ b/dimension/grammar.declarations
@@ -17,22 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
*************************************************************************/
-%define api.pure
-%locations
-%error-verbose
%token-table
%name-prefix "dmnsn_yy"
-%expect 10
-%glr-parser
+%expect 7
%parse-param {const char *filename}
%parse-param {void *yyscanner}
%parse-param {dmnsn_astree *astree}
%parse-param {dmnsn_symbol_table *symtable}
-%lex-param {const char *filename}
-%lex-param {void *yyscanner}
-
-%destructor { free($$); } <value>
-%destructor { dmnsn_delete_astnode($$); } <astnode>