Commit d7b61cc8 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

convert-to-new-signal-slot-signal.pl: parse "Foo *const var ="

parent b3d68359
......@@ -296,7 +296,8 @@ sub extraVariableFromLine($)
addToVarName($classname, $var, \%varname);
}
# Foo *toto =
if ( /^\s*([:_\w]+)\s*\*\s*([_\w]+)\s*=/) {
# Foo *const var =
if ( /^\s*([:_\w]+)\s*\*\s*(?:const )?([_\w]+)\s*=/) {
my $classname = $1;
my $var = $2;
#print STDERR "CASE 6. classname='$classname'\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment