vhdlpp: Fixed a gcc warning.
This commit is contained in:
parent
5b0bf08638
commit
6f5addb1b7
|
|
@ -2586,7 +2586,7 @@ suffix
|
|||
{ $$ = $1; }
|
||||
| K_all
|
||||
{ //do not have now better idea than using char constant
|
||||
$$ = strcpy(new char[strlen("all"+1)], "all");
|
||||
$$ = strdup("all");
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue