comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Pretty-printer? (Alternatives to "gnatpp")
Date: Mon, 14 Mar 2016 13:13:51 +0000
Date: 2016-03-14T13:13:51+00:00	[thread overview]
Message-ID: <lyfuvtxkvk.fsf@pushface.org> (raw)
In-Reply-To: nc690v$3au$1@dont-email.me

"G.B." <bauhaus@futureapps.invalid> writes:

> Ada mode does report syntax errors. Still, it is lenient
> when all that it should do is letter case. Example input:
>
> procedure Synerr is
> begin
>    null:
> end synErr;
>
> about which file Emacs says, when visiting,
>
> synerr.adb:3:8: syntax error in grammar state 641; unexpected :,
> expecting one of (default SEMICOLON)

And if you C-c C-f point will be placed on the error.

I have ada-case-strict set to nil, which leaves the last line as

   end SynErr;

because I don't want to have to set up a case exception for every
CamelCased name.


  reply	other threads:[~2016-03-14 13:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 18:07 Pretty-printer? (Alternatives to "gnatpp") Jacob Sparre Andersen
2016-03-13 18:49 ` J-P. Rosen
2016-03-13 19:26   ` Jacob Sparre Andersen
2016-03-13 18:49 ` J-P. Rosen
2016-03-13 19:33 ` Britt
2016-03-13 20:32   ` Jacob Sparre Andersen
2016-03-13 21:37 ` Georg Bauhaus
2016-03-13 21:42 ` Georg Bauhaus
2016-03-14  6:43   ` Bob Butler
2016-03-14 12:01     ` G.B.
2016-03-14 13:13       ` Simon Wright [this message]
2016-03-14  0:58 ` Shark8
2016-03-14 23:47 ` Randy Brukardt
2016-03-15  0:15 ` Britt
replies disabled

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