comp.lang.ada
 help / color / mirror / Atom feed
* How to check code indentation?
@ 2017-09-25 21:08 Victor Porton
  2017-09-25 22:35 ` gautier_niouzes
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Victor Porton @ 2017-09-25 21:08 UTC (permalink / raw)


I have a source code where some declarations or statements are indented 
wrongly. An example:

   function raptor_namespaces_find_namespace (Stack: Namespace_Stack_Handle;
                                                Prefix: chars_ptr;
                                                Len: int)
                                                return Namespace_Handle
     with Import, Convention=>C;

("Prefix" is not below "Stack" but two spaces are extraneous.)

I use -gnaty3 but weirdly GNAT 7.2.0 does not detect this error.

Is there any free tool to check (or even better automatically correct) Ada 
(preferably Ada2012) indentation?

-- 
Victor Porton - http://portonvictor.org


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-27  4:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25 21:08 How to check code indentation? Victor Porton
2017-09-25 22:35 ` gautier_niouzes
2017-09-25 23:08   ` Victor Porton
2017-09-27  3:23     ` Stephen Leake
2017-09-25 23:10 ` Victor Porton
2017-09-25 23:43   ` Anh Vo
2017-09-25 23:59     ` Victor Porton
2017-09-26  0:00       ` Victor Porton
2017-09-27  4:07 ` Per Sandberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox