View Single Post
09-14-08, 07:47 AM   #8
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
Originally Posted by Mera View Post
I think the patch for your code Dridzt is to not add "for" because for is always called with a "do", like having "if" already not present is fine because it's always coming with a "then" which is declared.
Yes that's an elegant solution, nice thinking.
For the same reason "while" must also be removed (it's always while () do)
"repeat" is also missing along the same lines ("until" is defined).
So that line should be
Code:
/Open Fold Strings = "{" "function" "then" "else" "do" "until"
  Reply With Quote