projects
/
platform
/
upstream
/
coreclr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update CoreClr, CoreFx to servicing-26719-02, servicing-26719-03, respectively
[platform/upstream/coreclr.git]
/
generateexportedsymbols.awk
diff --git
a/generateexportedsymbols.awk
b/generateexportedsymbols.awk
index
19312c3
..
1d9b200
100644
(file)
--- a/
generateexportedsymbols.awk
+++ b/
generateexportedsymbols.awk
@@
-2,5
+2,10
@@
# 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);
- print "_" $0;
+
+ # Skip empty lines and comment lines starting with semicolon
+ if (NF && !match($0, /^[:space:]*;/))
+ {
+ print "_" $0;
+ }
}
}