Hi,
I want to make Antlr support below codes:
#include <stdio.h>
...
#include <cutil.h> //want antlr be silent to this include
...
int a;
Dim3 d1; //want antlr support this type
Dim3 d2(2,4);//want antlr support this or be silent to it.
texture<Complex, 2, cudaReadModeElementType> texKernel; //want antlr be
silent
_global_ void function()//want antlr be silent to _global_
{
...
}
What I want to do is to define a lexer rule and set the action to be
skip, but I don't know if this will cause ambiguity.
Best,
Yixun
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---