Switch to gender neutral terms
This commit is contained in:
parent
2c31eddf34
commit
4057c0e360
@ -25,7 +25,7 @@ Prism.languages.nim = {
|
||||
'operator': {
|
||||
// Look behind and look ahead prevent wrong highlighting of punctuations [. .] {. .} (. .)
|
||||
// but allow the slice operator .. to take precedence over them
|
||||
// One can define his own operators in Nim so all combination of operators might be an operator.
|
||||
// One can define theirs own operators in Nim so all combination of operators might be an operator.
|
||||
pattern: /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\b)/m,
|
||||
lookbehind: true
|
||||
},
|
||||
|
@ -49,7 +49,7 @@ public class Person {
|
||||
}
|
||||
|
||||
public String getGender() {
|
||||
return gender == 0 ? "man" : "woman";
|
||||
return gender == 0 ? "person" : "person";
|
||||
}
|
||||
|
||||
public void work() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user