summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2009-11-24 21:03:35 +0000
committerMorgan Deters <mdeters@gmail.com>2009-11-24 21:03:35 +0000
commit811158832b74e3b101af2c7473f4e11a41377dd4 (patch)
tree07c55ab126dd7eb24239b615c987a490b182c8a6 /contrib
parentf6968899de4d27c5bc986c3ac89972fbbe35c361 (diff)
configure option adjustments as per 11/24 meeting; various fixes and improvements
Diffstat (limited to 'contrib')
-rw-r--r--contrib/editing-with-emacs2
-rwxr-xr-xcontrib/update-copyright.pl2
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/editing-with-emacs b/contrib/editing-with-emacs
index 277424230..66ee555a9 100644
--- a/contrib/editing-with-emacs
+++ b/contrib/editing-with-emacs
@@ -12,7 +12,7 @@ describing your usual cvc4 editing location(s):
(setq c-basic-offset 2)
(c-set-offset 'innamespace 0)
(setq indent-tabs-mode nil))
-(setq auto-mode-alist (cons '("/home/mdeters/cvc4.*/.*\\.\\(cc\\|cpp\\|h\\|hh\\|hpp\\)$" . cvc4-c++-editing-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("/home/mdeters/cvc4.*/.*\\.\\(cc\\|cpp\\|h\\|hh\\|hpp\\|y\\|yy\\|ypp\\|lex\\|l\\|ll\\|lpp\\)$" . cvc4-c++-editing-mode) auto-mode-alist))
-- Morgan Deters <mdeters@cs.nyu.edu> Mon, 02 Nov 2009 18:19:22 -0500
diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl
index 74030e810..a270e7362 100755
--- a/contrib/update-copyright.pl
+++ b/contrib/update-copyright.pl
@@ -103,6 +103,7 @@ sub recurse {
last if $line =~ /^ \*\*\s*$/;
}
} else {
+ my $line = $_;
print "adding\n";
if($file =~ /\.(y|yy|ypp|Y)$/) {
print $OUT "%{/******************* -*- C++ -*- */\n";
@@ -119,6 +120,7 @@ sub recurse {
print $OUT " **\n";
print $OUT " ** [[ Add file-specific comments here ]]\n";
print $OUT " **/\n\n";
+ print $OUT $line;
if($file =~ /\.(y|yy|ypp|Y)$/) {
while(my $line = <$IN>) {
chomp $line;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback