diff options
Diffstat (limited to 'src/gram.y')
-rw-r--r-- | src/gram.y | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -649,8 +649,7 @@ button : BUTTON number { $$ = $2; } ; -string : STRING { ptr = (char *)malloc(strlen($1)+1); - strcpy(ptr, $1); +string : STRING { ptr = strdup($1); RemoveDQuote(ptr); $$ = ptr; } |