From: Luke Kenneth Casson Leighton Date: Thu, 25 Apr 2019 11:59:53 +0000 (+0100) Subject: put in rule numbering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf64c6fa2c091f16f9b044a2d7c27a05a6d78641;p=sv2nmigen.git put in rule numbering --- diff --git a/parse_sv.py b/parse_sv.py index 441f5cb..780878a 100644 --- a/parse_sv.py +++ b/parse_sv.py @@ -1352,7 +1352,7 @@ def p_number_2(p): () def p_number_3(p): '''number : DEC_NUMBER BASED_NUMBER ''' - print('number3', list(p)) + print('number_3', list(p)) num = Leaf(token.NUMBER, "%s:%s" % (p[1], p[2])) p[0] = num # { $$ = pform_verinum_with_size($1,$2, @2.text, @2.first_line); @@ -4466,7 +4466,7 @@ def p_switchtype_12(p): () def p_hierarchy_identifier_1(p): '''hierarchy_identifier : IDENTIFIER ''' - print('hierarchy_identifier', list(p)) + print('hierarchy_identifier_1', list(p)) lpvalue = Leaf(token.NAME, p[1]) p[0] = lpvalue # { $$ = new pform_name_t;