{******************************************} { } { FastScript v1.9 } { C++ grammar } { } { (c) 2003-2007 by Alexander Tzyganenko, } { Fast Reports Inc } { } {******************************************} //VCL uses section {$IFNDEF FMX} unit fs_icpp; interface {$i fs.inc} uses SysUtils, Classes, fs_itools{$IFDEF DELPHI16}, Controls{$ENDIF}; {$ELSE} interface {$i fs.inc} uses System.SysUtils, System.Classes, FMX.fs_itools, FMX.Types; {$ENDIF} type {$i frxPlatformsAttribute.inc} TfsCPP = class(TComponent); implementation const CPP_GRAMMAR = '' + '' + '<' + 'err20 text="''>'' expected"/>' + '' + '' + '<' + 'sequence>' + '<' + 'sequence>' + '' + '' + '' + ''; initialization {$IFDEF DELPHI16} {$IFDEF FMX} StartClassGroup(TFmxObject); ActivateClassGroup(TFmxObject); GroupDescendentsWith(TfsCPP, TFmxObject); {$ELSE} StartClassGroup(TControl); ActivateClassGroup(TControl); GroupDescendentsWith(TfsCPP, TControl); {$ENDIF} {$ENDIF} fsRegisterLanguage('C++Script', CPP_GRAMMAR); end.