浏览代码

* Numeric chars allowed in identifier, no need to escape

Michaël Van Canneyt 3 年之前
父节点
当前提交
2b99abdd4d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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]:='\';