[antlr-interest] How to create a rule that matches fast everything!!!
Liviu U
liviu.u at gmail.com
Wed Feb 11 01:09:46 PST 2009
Hi all,
I have a pascal function:
procedure TFBItemType.ItemTypeAfterInsert(DataSet: TDataSet);
begin
inherited;
ItemTypeItemTypeId.Value := FBContext.GetNextId('DictionaryItem');
ItemTypeSiteId.Value := FBContext.InitializationParamByName('SiteId');
ItemTypeDictionaryId.Value := FDictionaryId;
ItemTypeSystemRecord.Value := 0;
end;
I want to match in a rule everything between BEGIN and END without
creating any inner nodes or rules.
Is there a way to specify:
rule
: BEGIN ANY* END;
?
thank you
More information about the antlr-interest
mailing list