mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Commentary
This commit is contained in:
parent
f58aee2ff2
commit
6f35fec5ce
@ -516,8 +516,7 @@ int V3ParseImp::tokenPipelineId(int token) {
|
||||
&& m_tokenLastBison.token != '.') {
|
||||
if (const size_t depth = tokenPipeScanIdCell(0)) return yaID__aCELL;
|
||||
}
|
||||
if (nexttok == '#') {
|
||||
VL_RESTORER(yylval); // Remember value, as about to read ahead
|
||||
if (nexttok == '#') { // e.g. class_type parameter_value_assignment '::'
|
||||
const size_t depth = tokenPipeScanParam(0, false);
|
||||
if (tokenPeekp(depth)->token == yP_COLONCOLON) return yaID__CC;
|
||||
}
|
||||
|
@ -1433,7 +1433,7 @@ parameter_value_assignmentInst<pinp>: // IEEE: parameter_value_assignment
|
||||
// // '#' delay_value { UNSUP }
|
||||
;
|
||||
|
||||
parameter_value_assignmentClass<pinp>: // IEEE: [ parameter_value_assignment ] (for classes)
|
||||
parameter_value_assignmentClass<pinp>: // IEEE: parameter_value_assignment (for classes)
|
||||
// // Like parameter_value_assignment, but for classes only, which always have #()
|
||||
'#' '(' cellparamListE ')' { $$ = $3; }
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user