[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ada mode 6.2.1: size clause not honoring ada-indent-broken
From: |
Stephen Leake |
Subject: |
Re: Ada mode 6.2.1: size clause not honoring ada-indent-broken |
Date: |
Fri, 06 Dec 2019 11:57:27 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) |
You got it right; I was just working on a patch and post that said the
same thing.
SCHOEPFLIN Markus <address@hidden> writes:
>> Yes, this is a bug in ada.wy "aspect_clause"; it has no wisi-indent-
>> action.
>
> Thanks for the hint, attached patch fixes the problem.
>
> To actually use the patch, I did the following:
>
> 1. Build the binary wisitoken-bnf-generate in wisi-2.2.1:
>
>> bash build-wisitoken-bnf-generate.sh
> Compile
> [Ada] wisitoken-bnf-generate.adb
> [C] wisitoken_grammar_re2c.c
> [...]
> Link
> [archive] libwisi.a
> [index] libwisi.a
> [link] wisitoken-bnf-generate.adb
>
> 2. In ada-mode-6.2.1, recreate the files generated by wisitoken-bnf-generate
> from ada.wy:
>
>> wisitoken-bnf-generate --generate LR1 Ada_Emacs re2c PROCESS text_rep ada.wy
>> wisitoken-bnf-generate --generate LALR Ada_Emacs re2c PROCESS ada.wy
>
> 3. Rebuild and reinstall the binaries and the parse table.
>
> This seems to be all that is needed, or did I miss something?
>
> Thanks,
> Markus
>
>
--
-- Stephe