diff --git a/next/guidelines.html b/next/guidelines.html index ac58dede2..4c1a29afa 100644 --- a/next/guidelines.html +++ b/next/guidelines.html @@ -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.

One side effect of the above is that you cannot assume the use of nested functions such as:

-
    main() {
-        void please_dont_submit_this() {
-            printf("The machine that goes BING!!\n");
-        }
-        please_dont_submit_this();
-    }
+
     main() {
+|        void please_dont_submit_this() {
+|           printf("The machine that goes BING!!\n");
+         }
+|        please_dont_submit_this();
+     }

This is because such nested functions often requires one to compile with a flag such as -fnested-functions that is not found on some compilers.

On 2012 July 20, the judges rescinded the encouragement of diff --git a/next/guidelines.md b/next/guidelines.md index f21e7c551..6280fefbf 100644 --- a/next/guidelines.md +++ b/next/guidelines.md @@ -328,12 +328,12 @@ One side effect of the above is that you cannot assume the use of nested functions such as: ``` - main() { - void please_dont_submit_this() { - printf("The machine that goes BING!!\n"); - } - please_dont_submit_this(); - } + main() { +| void please_dont_submit_this() { +| printf("The machine that goes BING!!\n"); + } +| please_dont_submit_this(); + } ``` This is because such nested functions often requires one to compile with