-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid indentation for recursive if/end if #4
Comments
This is a known issue, and it is not simple to fix. The workaround is to use Unfortunately, I do not have time to fix this issue. If you want to try fixing it, the problem is that begin
if 1 = 0 then
begin
if 1 = 0 then
null;
else
null;
end if;
end;
elsif 1 = 2
begin
if 1 = 0 then
null;
else
null;
end if;
end;
else
null;
end if;
end;
/ |
Thanks for the hint. Unfortunately I must work with existing code and I can't enclose If blocks. |
After a bit of thinking I think I got this working. Can you please try it out and see if it OK? I wrote this code about 10 years ago and back than this seemed like a hard task... |
Whaou, You're faster than light !!! |
I've trouble correctly indenting recursive if / then / end if;
The attached file isn't correctly indented. Any clue to start resolving this ?
The result bellow isn't what I expect.
The text was updated successfully, but these errors were encountered: