8 $class =~ s
|::(.)|'::'.uc($1)|e
;
9 $class =~ s
|[Vv
]comm
|VComm
|;
10 $class =~ s
|shm
|SHM
|i
;
14 open(FILE
, "<$file") or die;
18 print `/tmp/newsource.py cppheader $class | grep '\@file'`;
20 elsif(/^#define Aesalon/) {
21 print `/tmp/newsource.py cppheader $class | grep define`;
23 elsif(/^#ifndef Aesalon/) {
24 print `/tmp/newsource.py cppheader $class | grep ifndef`;
26 elsif(/^namespace /) {
27 print `/tmp/newsource.py cppheader $class | grep ^namespace` if !$ns;
31 print `/tmp/newsource.py cppheader $class | grep '^} //'` if !$close;