vhdlpp: Fixed a gcc warning.

This commit is contained in:
Maciej Suminski 2015-08-27 16:32:37 +02:00
parent 5b0bf08638
commit 6f5addb1b7
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
;