aboutsummaryrefslogtreecommitdiff
path: root/docs/CodingStyle.md
diff options
context:
space:
mode:
authorgus knight <waddlesplash@gmail.com>2015-07-27 16:03:25 -0400
committerAugustin Cavalier <waddlesplash@gmail.com>2015-07-27 16:03:25 -0400
commit47e06c6d4e542e47fcbad69a78c2436a854a0779 (patch)
treed979fb8f3372966c0ef3031c4edeaa8f017241d9 /docs/CodingStyle.md
parent694d0fdade8bff3bc03466675350f596b2f4f8ed (diff)
downloadtinycc-47e06c6d4e542e47fcbad69a78c2436a854a0779.tar.gz
tinycc-47e06c6d4e542e47fcbad69a78c2436a854a0779.tar.bz2
Reorganize the source tree.
* Documentation is now in "docs". * Source code is now in "src". * Misc. fixes here and there so that everything still works. I think I got everything in this commit, but I only tested this on Linux (Make) and Windows (CMake), so I might've messed something up on other platforms...
Diffstat (limited to 'docs/CodingStyle.md')
-rw-r--r--docs/CodingStyle.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/CodingStyle.md b/docs/CodingStyle.md
new file mode 100644
index 0000000..303c1fb
--- /dev/null
+++ b/docs/CodingStyle.md
@@ -0,0 +1,10 @@
+TinyCC Coding Style
+==========================
+Lines should be no more than 80 columns long.
+
+Indentation
+--------------------------------------
+Turn on a "fill tabs with spaces" option in your editor.
+
+Be also careful that some files are indented with 2 spaces (when they
+have large indentation) while most are indented with 4 spaces.