diff options
Diffstat (limited to 'docs/style-guide.txt')
-rw-r--r-- | docs/style-guide.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt index 10ed893dc..9eed7f125 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt | |||
@@ -329,7 +329,7 @@ With "const int" compiler may fail to optimize it out and will reserve | |||
329 | a real storage in rodata for it! (Hopefully, newer gcc will get better | 329 | a real storage in rodata for it! (Hopefully, newer gcc will get better |
330 | at it...). With "define", you have slight risk of polluting namespace | 330 | at it...). With "define", you have slight risk of polluting namespace |
331 | (#define doesn't allow you to redefine the name in the inner scopes), | 331 | (#define doesn't allow you to redefine the name in the inner scopes), |
332 | and complex "define" are evaluated each time they uesd, not once | 332 | and complex "define" are evaluated each time they used, not once |
333 | at declarations like enums. Also, the preprocessor does _no_ type checking | 333 | at declarations like enums. Also, the preprocessor does _no_ type checking |
334 | whatsoever, making it much more error prone. | 334 | whatsoever, making it much more error prone. |
335 | 335 | ||