Cleanup trailing whitespace

This commit is contained in:
Wilson Snyder 2011-05-09 23:58:38 -04:00
parent 250394f72b
commit df4bc950fe
1 changed files with 5 additions and 5 deletions

View File

@ -833,7 +833,7 @@ port<nodep>: // ==IEEE: port
| portDirNetE /*implicit*/ portSig variable_dimensionListE sigAttrListE '=' constExpr | portDirNetE /*implicit*/ portSig variable_dimensionListE sigAttrListE '=' constExpr
{ $$=$2; /*VARDTYPE-same*/ AstVar* vp=VARDONEP($$,$3,$4); $$->addNextNull(vp); vp->valuep($6); } { $$=$2; /*VARDTYPE-same*/ AstVar* vp=VARDONEP($$,$3,$4); $$->addNextNull(vp); vp->valuep($6); }
; ;
portDirNetE: // IEEE: part of port, optional net type and/or direction portDirNetE: // IEEE: part of port, optional net type and/or direction
/* empty */ { } /* empty */ { }
// // Per spec, if direction given default the nettype. // // Per spec, if direction given default the nettype.
@ -842,12 +842,12 @@ portDirNetE: // IEEE: part of port, optional net type and/or direction
| port_direction net_type { VARDECL(PORT); VARDTYPE(NULL/*default_nettype*/); } // net_type calls VARNET | port_direction net_type { VARDECL(PORT); VARDTYPE(NULL/*default_nettype*/); } // net_type calls VARNET
| net_type { } // net_type calls VARNET | net_type { } // net_type calls VARNET
; ;
port_declNetE: // IEEE: part of port_declaration, optional net type port_declNetE: // IEEE: part of port_declaration, optional net type
/* empty */ { } /* empty */ { }
| net_type { } // net_type calls VARNET | net_type { } // net_type calls VARNET
; ;
portSig<nodep>: portSig<nodep>:
id/*port*/ { $$ = new AstPort($<fl>1,PINNUMINC(),*$1); } id/*port*/ { $$ = new AstPort($<fl>1,PINNUMINC(),*$1); }
| idSVKwd { $$ = new AstPort($<fl>1,PINNUMINC(),*$1); } | idSVKwd { $$ = new AstPort($<fl>1,PINNUMINC(),*$1); }
@ -2838,7 +2838,7 @@ junkToSemiList:
junkToSemi { } /* ignored */ junkToSemi { } /* ignored */
| junkToSemiList junkToSemi { } /* ignored */ | junkToSemiList junkToSemi { } /* ignored */
; ;
junkToSemi: junkToSemi:
BISONPRE_NOT(';',yENDSPECIFY,yENDMODULE) { } BISONPRE_NOT(';',yENDSPECIFY,yENDMODULE) { }
| error {} | error {}
@ -3109,7 +3109,7 @@ vltOffFront<errcodeen>:
int V3ParseImp::bisonParse() { int V3ParseImp::bisonParse() {
if (PARSEP->debugBison()>=9) yydebug = 1; if (PARSEP->debugBison()>=9) yydebug = 1;
return yyparse(); return yyparse();
} }
const char* V3ParseImp::tokenName(int token) { const char* V3ParseImp::tokenName(int token) {