From be3de046c3cb64322dbe72c5f72a6bf08ca2d8a9 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Mon, 24 Nov 2014 23:57:24 +0100 Subject: [PATCH] Moving %start directive to bottom of prologue. --- Monicelli.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Monicelli.y b/Monicelli.y index ee741d9..c92448d 100644 --- a/Monicelli.y +++ b/Monicelli.y @@ -38,13 +38,13 @@ extern int yylex(); %nonassoc LOWER_THAN_ELSE %nonassoc BRANCH_ELSE -%start program - %type NUMBER; %type FLOAT; %type ID; %type TYPENAME; +%start program + %% program: