diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-19 14:42:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-19 14:42:29 -0700 |
commit | 7065309739ef398af07e470469f1ae6f0580200c (patch) | |
tree | a8d6e0e99b14899193014a87e80f013606a0d504 /doc/rdsrc.pl | |
parent | 31420e76d1e333825df39964888089181ccf8129 (diff) | |
download | nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.gz nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.bz2 nasm-7065309739ef398af07e470469f1ae6f0580200c.zip |
Formatting: kill off "stealth whitespace"
"Stealth whitespace" makes it harder to read diffs, and just generally
cause unwanted weirdness. Do a source-wide pass to get rid of it.
Diffstat (limited to 'doc/rdsrc.pl')
-rw-r--r-- | doc/rdsrc.pl | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/rdsrc.pl b/doc/rdsrc.pl index 7775d43..1bf397e 100644 --- a/doc/rdsrc.pl +++ b/doc/rdsrc.pl @@ -9,24 +9,24 @@ # Source-form features: # --------------------- -# +# # Bullet \b # Bullets the paragraph. Rest of paragraph is indented to cope. In # HTML, consecutive groups of bulleted paragraphs become unordered # lists. -# +# # Emphasis \e{foobar} # produces `_foobar_' in text and italics in HTML, PS, RTF -# +# # Inline code \c{foobar} # produces ``foobar'' in text, and fixed-pitch font in HTML, PS, RTF -# +# # Display code # \c line one # \c line two # produces fixed-pitch font where appropriate, and doesn't break # pages except sufficiently far into the middle of a display. -# +# # Chapter, header and subheader # \C{intro} Introduction # \H{whatsnasm} What is NASM? @@ -40,17 +40,17 @@ # Expands to `Chapter 1', `Section 1.1', `Section 1.1.1'. \K has an # initial capital whereas \k doesn't. In HTML, will produce # hyperlinks. -# +# # Web link \W{http://foobar/}{text} or \W{mailto:me@here}\c{me@here} # the \W prefix is ignored except in HTML; in HTML the last part # becomes a hyperlink to the first part. -# +# # Literals \{ \} \\ # In case it's necessary, they expand to the real versions. -# +# # Nonbreaking hyphen \- # Need more be said? -# +# # Source comment \# # Causes everything after it on the line to be ignored by the # source-form processor. @@ -458,7 +458,7 @@ sub fixup_xrefs { if ($$pname[$i] =~ /^k/) { $k = $$pname[$i]; $caps = ($k =~ /^kK/); - $k = substr($k,2); + $k = substr($k,2); $repl = $refs{$k}; die "undefined keyword `$k'\n" unless $repl; substr($repl,0,1) =~ tr/a-z/A-Z/ if $caps; @@ -1417,4 +1417,3 @@ sub write_dip { } close(PARAS); } - |