Fix wrong fileline on 1step
This commit is contained in:
parent
6a8f97e184
commit
b52e1d3ede
|
|
@ -653,7 +653,7 @@ vnum {vnum1}|{vnum2}|{vnum3}|{vnum4}|{vnum5}
|
||||||
|
|
||||||
<VA5,SAX>{
|
<VA5,SAX>{
|
||||||
/* Generic unsupported warnings */
|
/* Generic unsupported warnings */
|
||||||
"1step" { FL; return ya1STEP; }
|
"1step" { FL; return y1STEP; }
|
||||||
"above" { ERROR_RSVD_WORD("AMS"); }
|
"above" { ERROR_RSVD_WORD("AMS"); }
|
||||||
"abs" { ERROR_RSVD_WORD("AMS"); }
|
"abs" { ERROR_RSVD_WORD("AMS"); }
|
||||||
"absdelay" { ERROR_RSVD_WORD("AMS"); }
|
"absdelay" { ERROR_RSVD_WORD("AMS"); }
|
||||||
|
|
@ -964,9 +964,7 @@ vnum {vnum1}|{vnum2}|{vnum3}|{vnum4}|{vnum5}
|
||||||
FL; yylval.cdouble = V3ParseImp::lexParseTimenum(yytext);
|
FL; yylval.cdouble = V3ParseImp::lexParseTimenum(yytext);
|
||||||
return yaTIMENUM;
|
return yaTIMENUM;
|
||||||
}
|
}
|
||||||
1step {
|
1step { FL; return y1STEP; }
|
||||||
return ya1STEP;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
|
||||||
|
|
@ -545,7 +545,7 @@ BISONPRE_VERSION(3.7,%define api.header.include {"V3ParseBison.h"})
|
||||||
// for example yP_ for punctuation based operators.
|
// for example yP_ for punctuation based operators.
|
||||||
// Double underscores "yX__Y" means token X followed by Y,
|
// Double underscores "yX__Y" means token X followed by Y,
|
||||||
// and "yX__ETC" means X folled by everything but Y(s).
|
// and "yX__ETC" means X folled by everything but Y(s).
|
||||||
%token<fl> ya1STEP "1step"
|
%token<fl> y1STEP "1step"
|
||||||
%token<fl> yACCEPT_ON "accept_on"
|
%token<fl> yACCEPT_ON "accept_on"
|
||||||
%token<fl> yALIAS "alias"
|
%token<fl> yALIAS "alias"
|
||||||
%token<fl> yALWAYS "always"
|
%token<fl> yALWAYS "always"
|
||||||
|
|
@ -6077,7 +6077,7 @@ clocking_skewE<nodeExprp>: // IEEE: [clocking_skew]
|
||||||
|
|
||||||
clocking_skew<nodeExprp>: // IEEE: clocking_skew
|
clocking_skew<nodeExprp>: // IEEE: clocking_skew
|
||||||
delay_control { $$ = $1->lhsp()->unlinkFrBack(); $1->deleteTree(); }
|
delay_control { $$ = $1->lhsp()->unlinkFrBack(); $1->deleteTree(); }
|
||||||
| '#' ya1STEP { $$ = new AstConst{$<fl>1, AstConst::OneStep{}}; }
|
| '#' y1STEP { $$ = new AstConst{$<fl>1, AstConst::OneStep{}}; }
|
||||||
| yPOSEDGE delay_controlE { $$ = nullptr;
|
| yPOSEDGE delay_controlE { $$ = nullptr;
|
||||||
BBUNSUP($1, "Unsupported: clocking event edge override"); }
|
BBUNSUP($1, "Unsupported: clocking event edge override"); }
|
||||||
| yNEGEDGE delay_controlE { $$ = nullptr;
|
| yNEGEDGE delay_controlE { $$ = nullptr;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue