From: crouzet Date: Tue, 25 Oct 2005 14:21:48 +0000 (+0000) Subject: small update for usage in hxx2salome X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9b18e51c596f633528f2263b7d1566e0c8d5548;p=tools%2Fhxx2salome.git small update for usage in hxx2salome --- diff --git a/scripts/parse01.awk b/scripts/parse01.awk index 2906402..8bec017 100644 --- a/scripts/parse01.awk +++ b/scripts/parse01.awk @@ -1,5 +1,5 @@ -# This awk program deletes C like comments '*/ ... /*' - not yet used -awk '{ +# This awk program deletes C like comments '*/ ... /*' +{ if (t = index($0, "/*")) { if (t > 1) tmp = substr($0, 1, t - 1) @@ -17,4 +17,4 @@ awk '{ $0 = tmp } print $0 -}' +}