Hi
I need add two token to compiler to implement my ideas.
adding first token done but second token cause range check exception in
lines like this
if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then
ptconst.pas(95,45) Error: range check error in set constructor or
duplicate
Hi!
I wanna add new features and facilities to pascal like while - else, for
- else and inline if statement like python.
examples
ex1:
I:=5;
while(I>0) do
begin
Write(I);
I:=I-1;
end else Write(' While Else ');
ex1-output:54321 While Else
ex2:
I:=5;
while(I>0) do
begin