Browse Source

Repl: allow identifiers whith one single character

Manfred Kroehnert 10 years ago
parent
commit
cea7b4a38d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cli/st/AmberCli.st

+ 1 - 1
cli/st/AmberCli.st

@@ -1027,7 +1027,7 @@ instanceVariableNamesFor: aClass
 !
 
 isIdentifier: aString
-	^ aString match: '^[a-z_]\w+$' asRegexp
+	^ aString match: '^[a-z_]\w*$' asRegexp
 !
 
 isVariableDefined: aString