[Lazarus] Regex and Syntax Highlighting

Florian Klaempfl florian at freepascal.org
Wed May 26 11:39:07 CEST 2010


Florian Klaempfl schrieb:
> Florian Klaempfl schrieb:
>>> But are they complete/correct ? :-) I know that many editors aren't. They
>>> support a basic easy subset and that is it.  Stuff like using directive
>>> names as variables where allowed, support for & to escape keywords etc.
>> A nice test is also
>> const
>>   eof = ^Z;
> 
> .. which makes me wonder if
> type
>   a = array[^A..^Z] of integer;+
> 
> is valid pascal as well (fpc doesn't like it currently).

Oops, without the + obviously.

type
  a = array[^A..^Z] of integer;




More information about the Lazarus mailing list