From 7067afde5d03ea9ffb2592d541082582eaf566bd Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 6 Jun 2020 09:43:13 -0400 Subject: [PATCH] Support --bbox-unsup parsing of foreach(this.foo) --- src/verilog.y | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/verilog.y b/src/verilog.y index e60f2c60e..a1740a5a1 100644 --- a/src/verilog.y +++ b/src/verilog.y @@ -4663,6 +4663,12 @@ idArrayed: // IEEE: id + select idClassForeach: idForeach { $$ = $1; } + // // IEEE: [ implicit_class_handle . | package_scope ] hierarchical_variable_identifier select + | yTHIS '.' idForeach { $$ = $3; BBUNSUP($1, "Unsupported: this"); } + | ySUPER '.' idForeach { $$ = $3; BBUNSUP($1, "Unsupported: super"); } + | yTHIS '.' ySUPER '.' idForeach { $$ = $5; BBUNSUP($1, "Unsupported: this.super"); } + // // Expanded: package_scope idForeach + | class_scopeIdFollows idForeach { $$ = $2; BBUNSUP($2, "Unsupported: package scoped id"); } | package_scopeIdFollows idForeach { $$ = AstDot::newIfPkg($2->fileline(), $1, $2); } ;