{******************************************} { } { FastScript v1.9 } { C++ grammar } { } { (c) 2003-2005 by Alexander Tzyganenko, } { Fast Reports Inc } { } {******************************************} unit fs_icpp; interface {$i fs.inc} uses SysUtils, Classes, fs_itools; type TfsCPP = class(TComponent); implementation const CPP_GRAMMAR = '' + '' + '<' + '/types>' + '<' + 'keyword text="DEFINE" err="err13"/>' + '<' + '/optional>' + '<' + 'char text="-" add="op" addtext="unminus"/><' + '/sequence>' + '<' + 'char text="|" add="op" addtext="or"/>' + '' + '' + '<' + 'char text="-" opt="1" add="modificator"/><' + 'trystmt/><' + 'whilestmt/><' + 'keyword text="DO"/>'; initialization fsRegisterLanguage('C++Script', CPP_GRAMMAR); end.