* bootstrap (cp_mark_as_generated): Don't add C-style comments for .l or .y files.
authorJim Meyering <jim@meyering.net>
Fri, 8 Sep 2006 07:57:21 +0000 (07:57 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 8 Sep 2006 07:57:21 +0000 (07:57 +0000)
ChangeLog
bootstrap

index 4d1e684..6708431 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        (slurp): Use it to prepend editor hints and a warning that
        the file we're copying is generated.
        Suggestion from Bruce Korb.
+       (cp_mark_as_generated): Don't add C-style comments for .l or .y files.
 
 2006-09-07  Jim Meyering  <jim@meyering.net>
 
index b7f13ca..45c1f52 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -218,7 +218,7 @@ cp_mark_as_generated()
   local dst=$2
   local c1 c2
   case $dst in
-    *.[chly])           c1='/* '; c2=' */';;
+    *.[ch])             c1='/* '; c2=' */';;
     *.texi)             c1='@c '; c2=     ;;
     *.m4|*/Make*|Make*) c1='# ';  c2=     ;;
     *)                                    ;;