X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=generateexportedsymbols.awk;h=120897fa378d65a33adfddd331c87324bcabe1d7;hb=9ac48932809e5ed602206f144f404d5089f9d8f3;hp=1d9b200d2361525df0da2437c7595e6dd0cdf0d2;hpb=950db4ece9bbdd259e410ee8d2acc6da72f6f7eb;p=platform%2Fupstream%2Fcoreclr.git diff --git a/generateexportedsymbols.awk b/generateexportedsymbols.awk index 1d9b200..120897f 100644 --- a/generateexportedsymbols.awk +++ b/generateexportedsymbols.awk @@ -1,11 +1,12 @@ { - # Remove the CR character in case the sources are mapped from - # a Windows share and contain CRLF line endings - gsub(/\r/,"", $0); + # Remove the CR character in case the sources are mapped from + # a Windows share and contain CRLF line endings + gsub(/\r/,"", $0); - # Skip empty lines and comment lines starting with semicolon - if (NF && !match($0, /^[:space:]*;/)) - { - print "_" $0; - } + # Skip empty lines and comment lines starting with semicolon + if (NF && !match($0, /^[:space:]*;/)) + { + gsub(/^#/,"", $0); + print "_" $0; + } }