From: crouzet Date: Thu, 11 Dec 2008 09:05:37 +0000 (+0000) Subject: Add header for copyrigh X-Git-Tag: V5_1_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a6fc1c01dfe89bc32eab4828ffe0bf4d41733f3d;p=tools%2Fhxx2salome.git Add header for copyrigh --- diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 85f034f..e0665d5 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,4 +1,7 @@ - +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- bin_SCRIPTS = hxx2salome \ parse01.awk \ parse0.awk \ diff --git a/scripts/SA_build b/scripts/SA_build index f4238fa..84d8b2b 100755 --- a/scripts/SA_build +++ b/scripts/SA_build @@ -1,4 +1,8 @@ #!/bin/bash +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- # # Utility for building Salome Modules # diff --git a/scripts/SA_new_cpp_component b/scripts/SA_new_cpp_component index e8ef4e0..09d13fa 100755 --- a/scripts/SA_new_cpp_component +++ b/scripts/SA_new_cpp_component @@ -1,4 +1,8 @@ #!/bin/bash +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- usage() { diff --git a/scripts/hxx2salome b/scripts/hxx2salome index c8a7507..0dce7f8 100755 --- a/scripts/hxx2salome +++ b/scripts/hxx2salome @@ -1,4 +1,8 @@ #!/bin/bash +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- # # # salome2 environment file (.bash or .sh) - can also be specified with -e option diff --git a/scripts/parse0.awk b/scripts/parse0.awk index ae194f4..d273814 100644 --- a/scripts/parse0.awk +++ b/scripts/parse0.awk @@ -1,4 +1,8 @@ # This awk program suppresses inline functions - but it doen't work if there is no inline function... Not used yet. +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- BEGIN { RS="\f"} { gsub(/{[^{}]*}[ \t]*;?/,";");print } diff --git a/scripts/parse01.awk b/scripts/parse01.awk index 8bec017..ca4dbb9 100644 --- a/scripts/parse01.awk +++ b/scripts/parse01.awk @@ -1,4 +1,8 @@ # This awk program deletes C like comments '*/ ... /*' +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- { if (t = index($0, "/*")) { if (t > 1) diff --git a/scripts/parse1.awk b/scripts/parse1.awk index 8d688d2..455ab95 100644 --- a/scripts/parse1.awk +++ b/scripts/parse1.awk @@ -1,4 +1,8 @@ # This awk program extract public functions of the class definition present in hxx interface +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- BEGIN { public=0 } diff --git a/scripts/parse2.awk b/scripts/parse2.awk index 2ecc2c7..82c07a6 100644 --- a/scripts/parse2.awk +++ b/scripts/parse2.awk @@ -1,4 +1,8 @@ # suppress blanks between type and indirection or reference operators (* and &) +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- { gsub(/[ \t]+&/,"\\& ") gsub(/[ \t]+\*/,"* ") print $0 } diff --git a/scripts/parse3.awk b/scripts/parse3.awk index 9d594d7..6bd5867 100644 --- a/scripts/parse3.awk +++ b/scripts/parse3.awk @@ -1,4 +1,8 @@ # This awk program contains the type mapping tables - and the treatments +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- # for code generation # BEGIN { diff --git a/scripts/renameSalomeModule b/scripts/renameSalomeModule index 8e9ab33..63c90b7 100755 --- a/scripts/renameSalomeModule +++ b/scripts/renameSalomeModule @@ -1,4 +1,8 @@ #!/bin/bash +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- usage() {