documented optional indentation for 'case' statements/'case' objects

This commit is contained in:
Araq 2012-06-22 17:47:03 +02:00
commit 48847b5616
5 changed files with 35 additions and 4 deletions

View file

@ -11,6 +11,16 @@ type
d, e, f: char
else: nil
n: bool
type
TMyObject = object of TObject
case disp: range[0..4]:
of 0: arg: char
of 1: s: string
else: wtf: bool
var
x: TMyObject
var
global: int