summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--parser.y3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cb9f923..5f784c08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-11-18 Kaz Kylheku <kaz@kylheku.com>
+ * parser.y: Regression IDENT, '{' and '}'
+ must be on the same precedence level and right
+ associative. Without this consective braced
+ variables don't work, etc.
+
+2011-11-18 Kaz Kylheku <kaz@kylheku.com>
+
* gc.c (mark_mem_region): Use the Valgrind API only to mark
the type field as accessible, not the whole object that
we are checking. Marking the whole object accessible hides
diff --git a/parser.y b/parser.y
index 43e03ed8..bab1460f 100644
--- a/parser.y
+++ b/parser.y
@@ -90,8 +90,7 @@ static val parsed_spec;
%type <lineno> '('
%nonassoc LOW /* used for precedence assertion */
-%right IDENT
-%nonassoc '{' '}'
+%right IDENT '{' '}'
%right ALL SOME NONE MAYBE CASES CHOOSE AND OR END COLLECT UNTIL COLL
%right OUTPUT REPEAT REP FIRST LAST EMPTY DEFINE
%right SPACE TEXT NUMBER