Procházet zdrojové kódy

Repl: allow identifiers whith one single character

Manfred Kroehnert před 10 roky
rodič
revize
cea7b4a38d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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