summaryrefslogtreecommitdiff
path: root/perly.tab
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.tab
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.tab')
-rw-r--r--perly.tab8
1 files changed, 8 insertions, 0 deletions
diff --git a/perly.tab b/perly.tab
index 59e88ae80d..2e4c30c676 100644
--- a/perly.tab
+++ b/perly.tab
@@ -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!
+ */
+
#define YYFINAL 14
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 2683
@@ -1066,3 +1072,5 @@ static const toketypes yy_type_tab[] =
toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval,
toketype_opval
};
+
+/* ex: set ro: */