X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Fmanual%2Fstyle.txt;h=54c1342e64d47165cb60d990574b2b67cef06518;hb=443197aff0e4b3e2ba01635f2862aca90ac26349;hp=87b1e6babcd74baf19f8b743de1e4eb618907b8e;hpb=ae710059291ba9830a9b20d899bdef6a5122dd73;p=fw%2Fopenocd diff --git a/doc/manual/style.txt b/doc/manual/style.txt index 87b1e6bab..54c1342e6 100644 --- a/doc/manual/style.txt +++ b/doc/manual/style.txt @@ -77,7 +77,7 @@ Finally, try to avoid lines of code that are longer than than 72-80 columns: - inline functions - @c // comments -- in new code, prefer these for single-line comments - trailing comma allowed in enum declarations -- designated initializers (@{ .field = value @}) +- designated initializers ( .field = value ) - variables declarations should occur at the point of first use - new block scopes for selection and iteration statements - use malloc() to create dynamic arrays. Do @b not use @c alloca @@ -370,7 +370,7 @@ Maintainers must also be sure to follow additional guidelines: This page contains style guidelines for the OpenOCD autotools scripts. -The following guidelines apply to the @c configure.in file: +The following guidelines apply to the @c configure.ac file: - Better guidelines need to be developed, but until then... - Use good judgement.