Merge pull request #2499 from xexyl/guidelines-rule2

Slight format improvement to rule 2 in guidelines
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-06-24 11:17:09 -07:00
commit bf28cac593
3 files changed
+12 -6

No files matched your search

+6
View File
@@ -287,6 +287,7 @@ help:
@echo 'make gen_other_html - build entry HTML files from markdown other than README.md'
@echo 'make gen_year_index - generate year level index.html files using from README.md files'
@echo 'make gen_top_html - generate a number of the top level HTML files from markdown'
@echo 'make gen_next - generate the HTML files in next/'
@echo 'make quick_entry_index - build winner index.html files that might be out of date'
@echo 'make find_missing_links - find markdown links to missing local files'
@echo
@@ -437,6 +438,11 @@ bugs: ${GEN_TOP_HTML} bugs.md
@${GEN_TOP_HTML} bugs
@echo "Eh, what's up, doc?"
gen_next: ${GEN_TOP_HTML} next/README.md next/guidelines.md next/rules.md
${GEN_TOP_HTML} -v 1 next/README
${GEN_TOP_HTML} -v 1 next/guidelines
${GEN_TOP_HTML} -v 1 next/rules
# build entry HTML files from markdown other than README.md to index.html
#
gen_other_html: ${GEN_OTHER_HTML}
+3 -3
View File
@@ -518,12 +518,12 @@ For example:</p>
<p>The size tool counts most C reserved words (keyword, secondary,<br>
and selected preprocessor keywords) as 1. The size tool counts all<br>
other octets as 1 excluding ASCII whitespace, and excluding any<br>
‘;’, ‘{’ or ‘}’ followed by ASCII whitespace, and excluding any<br>
‘;’, ‘{’ or ‘}’ octet immediately before the end of file.</p>
‘<code>;</code>’, ‘<code>{</code>’ or ‘<code>}</code>’ followed by ASCII whitespace, and excluding any<br>
‘<code>;</code>’, ‘<code>{</code>’ or ‘<code>}</code>’ octet immediately before the end of file.</p>
</blockquote>
<p>ASCII whitespace includes ASCII tab, ASCII space, ASCII newline,
ASCII formfeed, and ASCII carriage return.</p>
<p><strong><code>|</code></strong> When ‘;’, ‘{’ or ‘}’ are within a C string, they may still not be
<p><strong><code>|</code></strong> When ‘<code>;</code>’, ‘<code>{</code>’ or ‘<code>}</code>’ are within a C string, they may still not be
<strong><code>|</code></strong> counted by the IOCCC size tool. This is a feature, not a bug!</p>
<p>In cases where the above summary and the algorithm implemented by
the IOCCC size tool source code conflict, the algorithm implemented
+3 -3
View File
@@ -190,13 +190,13 @@ The IOCCC size tool, when using the -i option, may be summarized as:
> The size tool counts most C reserved words (keyword, secondary,<br>
> and selected preprocessor keywords) as 1. The size tool counts all<br>
> other octets as 1 excluding ASCII whitespace, and excluding any<br>
> ';', '{' or '}' followed by ASCII whitespace, and excluding any<br>
> ';', '{' or '}' octet immediately before the end of file.
> '`;`', '`{`' or '`}`' followed by ASCII whitespace, and excluding any<br>
> '`;`', '`{`' or '`}`' octet immediately before the end of file.
ASCII whitespace includes ASCII tab, ASCII space, ASCII newline,
ASCII formfeed, and ASCII carriage return.
**`|`** When ';', '{' or '}' are within a C string, they may still not be
**`|`** When '`;`', '`{`' or '`}`' are within a C string, they may still not be
**`|`** counted by the IOCCC size tool. This is a feature, not a bug!
In cases where the above summary and the algorithm implemented by