Changes between Version 49 and Version 50 of Submitting/C


Ignore:
Timestamp:
02/16/15 13:29:45 (10 years ago)
Author:
wenzeslaus
Comment:

Update to r64658

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/C

    v49 v50  
    262262
    263263To promote a consistent coding style for whitespace (spaces, tabs, newlines), please use the `indent` tool on all new C files using the following switches:
    264 {{{
    265      $ indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \
    266       -nbbo -nbc -nbfda -nbfde -ncdb -ncdw -nce -nfca -npcs -nprs \
    267       -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut main.c
     264
     265{{{
     266-bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4
     267-nbbo -nbc -nbfda -nbfde -ncdb -ncdw -nce -nfca -npcs -nprs
     268-npsl -nsc -nsob -saf -sai -saw -sbi0 -ss --no-tabs
    268269}}}
    269270
     
    271272
    272273For your convenience use the [source:grass/trunk/tools/grass_indent.sh tools/grass_indent.sh] script available in GRASS source code.
     274
     275See [http://grasswiki.osgeo.org/wiki/Development#Explanation_of_C_indentation_rules GRASS Wiki] or `man indent` for explanation of individual switches.
    273276== Compilation ==
    274277