diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-07-24 21:29:06 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-07-30 07:03:40 +0200 |
commit | 209711413b989f05c039b6d5bd6acfb888b54b5a (patch) | |
tree | 4b5713144ec0d893bbc0fa39045b8f81d87e12d8 | |
parent | 91598880d64ed2be9a53c0b6a07c4fdf602e71c1 (diff) | |
download | ghdl-209711413b989f05c039b6d5bd6acfb888b54b5a.tar.gz ghdl-209711413b989f05c039b6d5bd6acfb888b54b5a.tar.bz2 ghdl-209711413b989f05c039b6d5bd6acfb888b54b5a.zip |
Update STYLE file.
-rw-r--r-- | STYLE | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -7,11 +7,17 @@ Allowed Ada93 features: the standard library, child packages. Use assertions. We try to follow the 'GNU Coding Standards' when possible: comments before -declarations, two spaces end of sentences... +declarations, two spaces at end of sentences, finish sentences with a dot. But: 3 spaces for indentation. No trailing spaces, not TAB (HT). +Subprograms must have a comment before to describe it, like: + -- Analyze the concurrent statements of PARENT. + 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. + * For subprograms: 1) Declare on one line when possible: function Translate_Static_Aggregate (Aggr : Iir) return O_Cnode |