diff options
author | gritbub <38131016+gritbub@users.noreply.github.com> | 2018-06-05 05:59:23 -0500 |
---|---|---|
committer | gritbub <38131016+gritbub@users.noreply.github.com> | 2018-06-05 05:59:23 -0500 |
commit | 0490a02c0982962c944e3b8eb7ded090e18e403b (patch) | |
tree | f5ec6d653fafc99c0a69b22f2cc8cc2ac18f5613 /doc/references/CodingStyle.rst | |
parent | 7538ef0dbe9369294d5ca4a4fb9b14c87d893184 (diff) | |
download | ghdl-0490a02c0982962c944e3b8eb7ded090e18e403b.tar.gz ghdl-0490a02c0982962c944e3b8eb7ded090e18e403b.tar.bz2 ghdl-0490a02c0982962c944e3b8eb7ded090e18e403b.zip |
Reduce after-sentence spacing to one space
During PR 591 it was decided that all sentences should be ended with
a period and then followed by only one space. Regex changed 132
instances of two spaces to one space (in 7 files).
Also changed the second paragraph of CodingStyle to dictate the use
of one space instead of two.
Diffstat (limited to 'doc/references/CodingStyle.rst')
-rw-r--r-- | doc/references/CodingStyle.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/references/CodingStyle.rst b/doc/references/CodingStyle.rst index b9da53804..6af869067 100644 --- a/doc/references/CodingStyle.rst +++ b/doc/references/CodingStyle.rst @@ -4,12 +4,12 @@ Coding Style ############ Ada subset: use only a simple (VHDL like) subset of Ada: no tasking, no -controlled types... VHDL users should easily understand that subset. +controlled types... VHDL users should easily understand that subset. Allowed Ada95 features: the standard library, child packages. Use assertions. We try to follow the 'GNU Coding Standards' when possible: comments before -declarations, two spaces at end of sentences, finish sentences with a dot. +declarations, one space at the end of sentences, finish sentences with a dot. But: 2 spaces for indentation in code blocks. No trailing spaces, no TAB (HT). @@ -22,7 +22,7 @@ Subprograms must have a comment before to describe them, like: procedure Sem_Concurrent_Statement_Chain (Parent : Iir); The line before the comment must be a blank line (unless this is the first -declaration). Don't repeat the comment before the subprogram body. +declaration). Don't repeat the comment before the subprogram body. * For subprograms: |