Skip to content

Commit 6ebb75f

Browse files
committed
Remove end of block comments
The same hint can be provided by IDE extensions: less noise for people who don't want it ; no need to write it manually for those who do want it
1 parent 5f2f402 commit 6ebb75f

File tree

5 files changed

+59
-59
lines changed

5 files changed

+59
-59
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Example {
4848
SDL.delay(33);
4949
}
5050
51-
} //main
51+
}
5252
5353
static function update() {
5454
@@ -64,7 +64,7 @@ class Example {
6464
6565
return true;
6666
67-
} //update
67+
}
6868
69-
} //Example
69+
}
7070
```

linc/Linc.hx

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Linc {
2424

2525
return _fields;
2626

27-
} //touch
27+
}
2828

2929
/** Adds a @:buildXml meta node with a linc <set> and an <import> tag.
3030
The set is named LINC_${_lib}_PATH, and points to the root folder of the library.
@@ -58,6 +58,6 @@ class Linc {
5858

5959
return Context.getBuildFields();
6060

61-
} //xml
61+
}
6262

63-
} //Linc
63+
}

sdl/Keycodes.hx

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Keycodes {
99

1010
return (scancode | Scancodes.MASK);
1111

12-
} //from_scan
12+
}
1313

1414
/** Convert a keycode to a scancode if possible.
1515
NOTE - this will only map a large % but not all keys,
@@ -106,7 +106,7 @@ class Keycodes {
106106

107107
return Scancodes.unknown;
108108

109-
} //to_scan
109+
}
110110

111111
/** Convert a keycode to string */
112112
public static function name( keycode : Int ) : String {
@@ -134,11 +134,11 @@ class Keycodes {
134134

135135
return decoder.toString();
136136

137-
} //default
137+
}
138138

139139
} //switch(keycode)
140140

141-
} //name
141+
}
142142

143143
public static inline var unknown : Int = 0;
144144

@@ -392,7 +392,7 @@ class Keycodes {
392392
public static inline var eject : Int = from_scan(Scancodes.eject);
393393
public static inline var sleep : Int = from_scan(Scancodes.sleep);
394394

395-
} //Keycodes
395+
}
396396

397397

398398
/** The scancode class. The values below come directly from SDL header include files,
@@ -410,7 +410,7 @@ class Scancodes {
410410

411411
return res != null ? res : "";
412412

413-
} //name
413+
}
414414

415415
//special value remains caps
416416
public static inline var MASK:Int = (1<<30);
@@ -1012,5 +1012,5 @@ class Scancodes {
10121012
"Sleep",
10131013
]; //scancode names
10141014

1015-
} //Scancodes
1015+
}
10161016

0 commit comments

Comments
 (0)