On 02.12.2012 13:11, Henry Vermaak wrote:
On Dec 2, 2012 11:47 AM, "Mark Morgan Lloyd" <[email protected] <mailto:[email protected]>> wrote: > > I've just had a slight problem compiling Lazarus where FPC was reporting this: > > main.pp(5001,1) Fatal: Syntax error, "BEGIN" expected but "shl" found > << is shl in c. I guess fpc accepts this syntax, too?
Yes, "<<" and ">>" are converted in scanner stage to "shl" and "shr" which will give me headaches once I want to support nested specializations (basically the same problem that C++ had):
TTest<TTest<TObject>> // !!! Regards, Sven _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
