diff --git a/vhdlpp/parse.y b/vhdlpp/parse.y index ea948a1a8..90e62f23b 100644 --- a/vhdlpp/parse.y +++ b/vhdlpp/parse.y @@ -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"); } ;