Parcourir la source

* Numeric chars allowed in identifier, no need to escape

Michaël Van Canneyt il y a 3 ans
Parent
commit
2b99abdd4d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/fcl-css/src/fpcsstree.pp

+ 1 - 1
packages/fcl-css/src/fpcsstree.pp

@@ -445,7 +445,7 @@ begin
   While iIn<=Length(S) do
     begin
     C:=S[iIn];
-    If Not (C in ['a'..'z','A'..'Z','_','-']) then
+    If Not (C in ['a'..'z','A'..'Z','_','-','0'..'9']) then
       begin
       inc(iOut);
       Result[iOut]:='\';