Skip to content

Commit

Permalink
followup 8f35ee4
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 24, 2017
1 parent 8f35ee4 commit fbe10d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/sipify.pl
Expand Up @@ -320,7 +320,7 @@ sub processDoxygenLine
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
{
Expand Down
2 changes: 0 additions & 2 deletions tests/scripts/sipifyheader.expected.sip
Expand Up @@ -71,8 +71,6 @@ class QgsSipifyHeader : QtClass<QVariant>


enum OneLiner { Success, NoSuccess };
enum OneLiner { Success, NoSuccess };
enum OneLiner;

struct Data
{
Expand Down

0 comments on commit fbe10d4

Please sign in to comment.