Martin schrieb: > dmitry boyarintsev wrote: >> Here's the patch for synedit pascal highlighter to support '%' >> (binary) and '&' (octal) as numbers, as shown here: >> http://imagebin.org/67810 >> Otherwise the prefix character is colored as symbol rather than as >> number. >> > Applied, in 22180, thanks. > > slightly improved, the $%& prefixes must be followed by a number
Keep in mind, $ might be followed by a-f/A-F as well. And when you're at it: fpc trunk allows reserved works to be used as identifiers by escaping them with & (as Delphi allows). This is mainly needed for COM programing. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
