Merge pull request #2422 from xexyl/change-lines
This commit is contained in:
2 files changed
+12
-12
No files matched your search
@@ -601,12 +601,12 @@ you can help it. We want to discourage the use of obscure compiler
|
|||||||
flags that would make the program less portable.</p>
|
flags that would make the program less portable.</p>
|
||||||
<p>One side effect of the above is that you cannot assume the use
|
<p>One side effect of the above is that you cannot assume the use
|
||||||
of nested functions such as:</p>
|
of nested functions such as:</p>
|
||||||
<pre><code> main() {
|
<pre><code> main() {
|
||||||
void please_dont_submit_this() {
|
| void please_dont_submit_this() {
|
||||||
printf("The machine that goes BING!!\n");
|
| printf("The machine that goes BING!!\n");
|
||||||
}
|
}
|
||||||
please_dont_submit_this();
|
| please_dont_submit_this();
|
||||||
}</code></pre>
|
}</code></pre>
|
||||||
<p>This is because such nested functions often requires one to compile with
|
<p>This is because such nested functions often requires one to compile with
|
||||||
a flag such as <code>-fnested-functions</code> that is not found on some compilers.</p>
|
a flag such as <code>-fnested-functions</code> that is not found on some compilers.</p>
|
||||||
<p>On 2012 July 20, the judges rescinded the encouragement of
|
<p>On 2012 July 20, the judges rescinded the encouragement of
|
||||||
|
|||||||
+6
-6
@@ -328,12 +328,12 @@ One side effect of the above is that you cannot assume the use
|
|||||||
of nested functions such as:
|
of nested functions such as:
|
||||||
|
|
||||||
``` <!---c-->
|
``` <!---c-->
|
||||||
main() {
|
main() {
|
||||||
void please_dont_submit_this() {
|
| void please_dont_submit_this() {
|
||||||
printf("The machine that goes BING!!\n");
|
| printf("The machine that goes BING!!\n");
|
||||||
}
|
}
|
||||||
please_dont_submit_this();
|
| please_dont_submit_this();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
This is because such nested functions often requires one to compile with
|
This is because such nested functions often requires one to compile with
|
||||||
|
|||||||
Reference in new issue
Block a user