Georg Bauhaus <[email protected]> writes:

> -- 8< --
> different_with := with
>
> -- 8< --
> with System;
> $different_with Ada;
>
> procedure Gnatprep_Symbol_Test is
> begin
>    null;  -- press ENTER or TAB here
> end Gnatprep_Symbol_Test;

I just had an idea about how to handle this. Since the value of a
preprocessor symbol is either empty, a string literal, or an Ada
identifier/keyword, the wisi lexer can do the substitution.

We'll have to parse the definitions file and build a table for the
lexer; should not be hard.

-- 
-- Stephe

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

Reply via email to