summaryrefslogtreecommitdiff
path: root/css/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'css/scanner.l')
-rw-r--r--css/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/css/scanner.l b/css/scanner.l
index 4a9b272b0..d40007e87 100644
--- a/css/scanner.l
+++ b/css/scanner.l
@@ -51,7 +51,7 @@ nmchar = [-a-zA-Z0-9_] | nonascii | escape;
nmstart = [a-zA-Z_] | nonascii | escape;
ident = [-]? nmstart nmchar*;
name = nmchar+;
-num = [+-]? [0-9]+ | [0-9]* "." [0-9]+;
+num = [+-]? ([0-9]+ | [0-9]* "." [0-9]+);
nl = "\n" | "\r\n" | "\r" | "\f";
string1 = "\"" ([\t !#$%&(-~] | "\\" nl | "'" | nonascii | escape)* "\"";
string2 = "'" ([\t !#$%&(-~] | "\\" nl | "\""| nonascii | escape)* "'";