summaryrefslogtreecommitdiff
path: root/perly.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-23 16:25:30 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-23 18:45:58 +0000
commite8fb9efbf973fedc74b46a30a67b602d07f033e9 (patch)
treeb24aa82580c7aa8aba3ed06355c2a351a51729c0 /perly.h
parent0a2b78c5e9fca65a8b30a4191c5a8738548647eb (diff)
downloadperl-e8fb9efbf973fedc74b46a30a67b602d07f033e9.tar.gz
Output "read only" editor blocks from regen_perly.pl
Use safer_open() and read_only_bottom_close_and_rename() from regen_lib.pl Consistently use 3 argument open and lexical file handles. A side effect of this change is that the generated files are no longer made read-only on disk - if this is desirable, then probably better to change regen_lib.pl so that all generated files are made read-only.
Diffstat (limited to 'perly.h')
-rw-r--r--perly.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/perly.h b/perly.h
index 9695a064a1..25f5864bd8 100644
--- a/perly.h
+++ b/perly.h
@@ -1,3 +1,9 @@
+/* -*- buffer-read-only: t -*-
+ !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+ This file is built by regen_perly.pl from perly.y.
+ Any changes made here will be lost!
+ */
+
#ifdef PERL_CORE
/* A Bison parser, made by GNU Bison 2.3. */
@@ -232,3 +238,5 @@ typedef union YYSTYPE
+
+/* ex: set ro: */