Sometimes keywords

Gracjan Polak <[email protected]> Wed, 30 Mar 2016 15:37:34 +0200
Newsgroups gmane.emacs.semantic
Message-ID <CAChsM3QRKtTx_Ao=T_SUAh8=TOsfFz9GhMw+i4V6ZMw8JMH2HA@mail.gmail.com>
Hi,

I'm working on Haskell grammar and there is a language construct when an
identifier is a keyword only in specific context, for example 'family' is
ordinary identifier unless it follows 'type', for example:

type family X a b = .... (a keyword here)

let family = Flistones in .... (a variable here)

How do I create this context sensitivity in Wisent/Semantic?

-- 
Gracjan

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140

_______________________________________________
cedet-semantic mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-semantic