aboutsummaryrefslogtreecommitdiff
path: root/bfd/mergecom-p
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/mergecom-p')
-rwxr-xr-xbfd/mergecom-p5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/mergecom-p b/bfd/mergecom-p
new file mode 100755
index 0000000..456478b
--- /dev/null
+++ b/bfd/mergecom-p
@@ -0,0 +1,5 @@
+# SED script for preprocessing embedded headers from C source comments
+# Locate and coalesce adjacent comments
+/\*\/$/N
+s/\*\/\n\/\*/\
+/