From 358c3d6716e10f9fbf26c459d3e60622ae8986ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Sat, 4 May 2019 08:40:44 +0200 Subject: [PATCH] Revert "Allow th use of EXPECTATION keyword in variables tags." This reverts commit fbc42b19301e918ccad0955b67ae814f4db9b70b, which is incorrect for the currently used version of Bison (in stretch). Besides, even if the patch seems to work with recent versions of Bison, it introduces hard to predict and probably very unpleasant properties (this patch allows to use the `expectation` word anywhere, this would be a problem if the user choose to name a variable or parameter as `expectation`). --- src/DynareBison.yy | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/DynareBison.yy b/src/DynareBison.yy index d96b49d0..a4e1ab12 100644 --- a/src/DynareBison.yy +++ b/src/DynareBison.yy @@ -3899,8 +3899,6 @@ symbol : NAME { $$ = $1; } | PRIOR { $$ = $1; } - | EXPECTATION - { } ;