followup 8f35ee464f0a32284263b684abbdf2a42c0e9131

This commit is contained in:
Denis Rouzaud 2017-04-24 14:54:07 +02:00
parent 8f35ee464f
commit fbe10d461c
2 changed files with 1 additions and 3 deletions

View File

@ -320,7 +320,7 @@ while ($line_idx < $line_count){
if ($line =~ m/\{((\s*\w+)(\s*=\s*[\w\s\d<|]+.*?)?(,?))+\s*\}/){
# one line declaration
$line !~ m/=/ or die 'spify.pl does not handle enum one liners with value assignment. Use multiple lines instead.';
push @output, "$line\n";
next;
}
else
{

View File

@ -71,8 +71,6 @@ class QgsSipifyHeader : QtClass<QVariant>
enum OneLiner { Success, NoSuccess };
enum OneLiner { Success, NoSuccess };
enum OneLiner;
struct Data
{