Skip to content
Snippets Groups Projects
Commit d38c62d9 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

fix namespace

parent ad4856bc
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ for c in $listah; do
header=`echo $c | $SED 's/src\///' | $SED 's/source\///' | $SED "s/\.\//$prefix\//g"`;
filenamespace=""
# namespace=`grep -o 'namespace\s\+\w\+\s*{' $c |$SED 's/namespace\s\+\(\w\+\)\s*{/\1/g'`;
namespace=`grep -o 'namespace\s\+\w\+\s*{' $c | $SED 's/namespace\ *//g' |$SED 's/[\ {]//g'`
namespace=`grep -o 'namespace\s\+\w\+\s*{' $c | $SED 's/namespace\ *//g' |$SED 's/[\ {]//g'|grep -v '}'`
# namespace=`grep -o 'namespace\s\+\w\+' $c | $SED 's/^namespace //g'`
#`grep -o 'namespace\s\+\w\+' $c | $SED 's/namespace\ *//g' | tr '\n' ' '`;
oldbb=$bb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment