File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change
1
+ 2006-03-13 Peter Stephenson <
[email protected] >
2
+
3
+ * users/10013: Util/helpfiles: fix use of zshall for
4
+ generating.
5
+
1
6
2006-03-09 Wayne Davison <
[email protected] >
2
7
3
8
* users/10007: Francisco Borges: Doc/Zsh/options.yo: Added
Original file line number Diff line number Diff line change @@ -107,7 +107,12 @@ BUILTINS: while (<>) {
107
107
undef ($undented );
108
108
if (/ ^\s *$ / || ($undented = (/ ^(\s *)/ && length ($1 ) < $indent ))) {
109
109
$undented && &doprint($_ );
110
- while (defined ($_ = <>) && / (^\w )|(^\s *$) / ) {
110
+ while (defined ($_ = <>) && / (^\w )|(^\s *$) / ) {
111
+ # NAME is the start of the next section when in zshall.
112
+ # (Historical note: we used to exit on the page header,
113
+ # but text from the old section can continue to the
114
+ # new page).
115
+ last BUILTINS if / ^\s *NAME\s *$ / ;
111
116
last BUILTINS if / ^STARTUP\/ SHUTDOWN FILES/ ;
112
117
last if / ^zsh.*\s\d $ / ; # GNU nroff -man end-of-page marker
113
118
}
@@ -121,11 +126,6 @@ BUILTINS: while (<>) {
121
126
} while (defined ($_ ) && / ^\s *$ / );
122
127
}
123
128
}
124
- # In zshall, the zshcompctl manual page comes after the
125
- # builtins for 3.0, and zshzle comes after it for 3.1.
126
- if (/ ZSH(COMPCTL|ZLE)\( 1\) .*ZSH(COMPCTL|ZLE)\( 1\) / ) {
127
- last BUILTINS;
128
- }
129
129
if (/ ^(\s *)/ && length ($1 ) < $indent ) {
130
130
# This may be just a bug on the SGI, or maybe something
131
131
# more sinister (don\'t laugh, this is nroff).
You can’t perform that action at this time.
0 commit comments