From f206d4258f8e56b879a8ae1eccaa02c6286310f0 Mon Sep 17 00:00:00 2001 From: ccremers Date: Fri, 29 Apr 2005 13:25:43 +0000 Subject: [PATCH] - Events now always require a label. --- src/parser.y | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/parser.y b/src/parser.y index f7f73c2..3a7ccff 100644 --- a/src/parser.y +++ b/src/parser.y @@ -226,9 +226,8 @@ typeinfoN : /* empty */ } ; -label : /* empty */ - { $$ = NULL; } - | '_' ID +/* Previously, the label could be omitted. It is now required. */ +label : '_' ID { $$ = $2; } ;