Author: glen Date: Mon Feb 13 12:43:34 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid formatting comments in preambles
---- Files affected:
SPECS:
adapter.awk (1.275 -> 1.276)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.275 SPECS/adapter.awk:1.276
--- SPECS/adapter.awk:1.275 Sun Feb 5 22:25:46 2006
+++ SPECS/adapter.awk Mon Feb 13 13:43:29 2006
@@ -867,6 +867,9 @@
# There should be one or two tabs after the colon.
function format_preamble()
{
+ if (/^#/) {
+ return;
+ }
sub(/:[ \t]*/, ":")
if (match($0, /[A-Za-z0-9(),#_ \t]+[ \t]*:[ \t]*/) == 1) {
if (RLENGTH < 8)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.275&r2=1.276&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit