-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from BalticAmadeus/41-for-formatting
41 FOR Formatting
- Loading branch information
Showing
83 changed files
with
898 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ionalTests/block/12for-block-end2/input.p → ...s/block/12for-block-end2-disabled/input.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...onalTests/block/12for-block-end2/target.p → .../block/12for-block-end2-disabled/target.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...nalTests/block/15for-block-inner2/input.p → ...block/15for-block-inner2-disabled/input.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...alTests/block/15for-block-inner2/target.p → ...lock/15for-block-inner2-disabled/target.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...nalTests/block/17for-block-inner4/input.p → ...block/17for-block-inner4-disabled/input.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...alTests/block/17for-block-inner4/target.p → ...lock/17for-block-inner4-disabled/target.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
repeat: | ||
define variable a as integer no-undo. | ||
end. | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
resources/functionalTests/block/51do-for-block-inner1/target.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
resources/functionalTests/block/51for-for-block-inner1/input.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
resources/functionalTests/block/51for-for-block-inner1/target.p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
finally: | ||
end finally. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
finally: | ||
end finally. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.forFormatting": true}*/ | ||
|
||
for each Customer by Customer.CreditLimit by Customer.Name: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.forFormatting": true}*/ | ||
|
||
for each Customer by Customer.CreditLimit by Customer.Name: | ||
for each Customer | ||
by Customer.CreditLimit | ||
by Customer.Name: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
on choose of b_next, b_prev do: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
on choose of b_next, b_prev do: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
procedure proc: | ||
end procedure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
procedure proc: | ||
end procedure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
repeat: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
repeat: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
catch oErr as MyErrorType: | ||
end catch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
catch oErr as MyErrorType: | ||
end catch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
class A inherits B: | ||
end class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
class A inherits B: | ||
end class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do iCount = iTotal to 5: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do iCount = iTotal to 5: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do transaction: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do transaction: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do while i < 5: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.emptyBlockFormatting": true}*/ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
do while i < 5: | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.blockFormatting": false, | ||
"AblFormatter.forFormatting": false | ||
}*/ | ||
|
||
for | ||
each | ||
Customer: | ||
Customer.var += 1. | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.blockFormatting": false, | ||
"AblFormatter.forFormatting": false | ||
}*/ | ||
|
||
for | ||
each | ||
Customer: | ||
Customer.var += 1. | ||
end. |
Oops, something went wrong.