Stephen Leake <[email protected]> writes:
> Simon Wright <[email protected]> writes:
>
>> but “project” is now a keyword, & ends up in lower case.
>
> You should be able to use the parse result to distingish the two; one
> will have token KEYWORD, the other IDENTIFIER (or NAME).
>
This wrong. In this code:
project GDS is
package Linker is
for Map_File_Option use "-Wl,-Map," & Project'Project_Dir;
end Linker;
end GDS;
"project" has a wisi-cache text property with
'simple_project_declaration PROJECT', Project does not have wisi-cache.
But that is a difference that can be exploited in the autocase and
fontlock code.
In the grammar, PROJECT is an attribute_prefix; we could add a
wisi-statement action there if needed.
--
-- Stephe
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org