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