Allow empty value prefixes as well (using the %valprefix directive)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5486 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-07-10 22:23:19 +00:00
parent 4b850382ab
commit dc0aa99fac
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ sub parseEnum
$_ = $1; $_ = $1;
if (/^valprefix\s+\"([^\"]+)\"\s*;$/) if (/^valprefix\s+\"([^\"]*)\"\s*;$/)
{ {
${$curEnum{"qualifiers"}}{"valprefix"} = $1; ${$curEnum{"qualifiers"}}{"valprefix"} = $1;
} }