Simon Wright <[email protected]> writes:

> On 10 Sep 2013, at 15:11, Georg Bauhaus <[email protected]> wrote:
>
>> On 09.09.13 16:28, Stephen Leake wrote:
>> 
>>> wisi-validate-cache: debug.adb:7:5: syntax error in grammar state 1026;
>>> unexpected P, expecting one of (default SEMICOLON)
>>> 
>>> This is a bug in ada-grammar.wy; there's a missing 'identifier_opt' in
>>> 'protected_definition':
>>> 
>>> --- ada-grammar.wy
>>> +++ ada-grammar.wy
>>> @@ -1584,7 +1584,7 @@ protected_definition
>>>     (progn
>>>       (wisi-statement-action 2 'block-middle 4 'block-end)
>>>       (wisi-containing-action 2 3))
>>> -  | declarative_part_opt END
>>> +  | declarative_part_opt END identifier_opt
>>>     (wisi-statement-action 2 'block-end)
>>>   ;
>>> 
>>> 
>> 
>> The patch is working. Excellent.
>
> It's taken me a *long* time to get to the point where I can try this.
>
> The stumbling block was that build/wisi/Makefile does the byte
> compilation using plain "emacs" which, on Mac OS X, opens the
> command-line version which is 22.1.1 :-)

Can't you set PATH?

You can use it without byte compiling; that slows down the parse some,
but not significantly.

> I used EMACS_EXE (just EMACS didn't work, don't know why, but perhaps
> because Darwin HFS is case-insensitive - it translated to
> /usr/bin/emacs, hence the command-line version again) 

I had a similar problem with EMACS, which is why I changed it to 'emacs'
and just set PATH.

> and set it to "/Applications/Emacs.app/Contents/MacOS/Emacs", and
> WISI_OPENTOKEN to where I have it, no attempt at a proper fix; now I
> can progress!

Ok.

> The external_as_list patch is fine.

Good.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to