diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-01-23 16:25:30 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-01-23 18:45:58 +0000 |
commit | e8fb9efbf973fedc74b46a30a67b602d07f033e9 (patch) | |
tree | b24aa82580c7aa8aba3ed06355c2a351a51729c0 /perly.act | |
parent | 0a2b78c5e9fca65a8b30a4191c5a8738548647eb (diff) | |
download | perl-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.act')
-rw-r--r-- | perly.act | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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! + */ + case 2: #line 142 "perly.y" { @@ -1702,3 +1708,5 @@ case 2: default: break; + +/* ex: set ro: */ |