[Lazarus] fpchmod illegal character "&"

Florian Klaempfl florian at freepascal.org
Thu Oct 15 09:43:17 CEST 2009


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.





More information about the Lazarus mailing list