Commit fa1ea9a5bfb8134aee947477325c17904ed7501c

Daniel Stone 2012-09-11T14:09:20

kbproto unentanglement: XkbGeomPtsPerMM Signed-off-by: Daniel Stone <daniel@fooishbar.org>

diff --git a/src/xkbcomp/parser.y b/src/xkbcomp/parser.y
index d702890..e1bf18e 100644
--- a/src/xkbcomp/parser.y
+++ b/src/xkbcomp/parser.y
@@ -724,7 +724,7 @@ SignedNumber    :       MINUS Number    { $$ = -$2; }
                 ;
 
 Number          :       FLOAT   { $$ = $1; }
-                |       INTEGER { $$ = $1 * XkbGeomPtsPerMM; }
+                |       INTEGER { $$ = $1; }
                 ;
 
 Float           :       FLOAT   { $$ = 0; }
diff --git a/src/xkbcomp/scanner.l b/src/xkbcomp/scanner.l
index 6e1089d..95fcaa1 100644
--- a/src/xkbcomp/scanner.l
+++ b/src/xkbcomp/scanner.l
@@ -179,7 +179,7 @@ alternate_group         return ALTERNATE_GROUP;
                         }
 [0-9]+\.[0-9]+ {
                             char *end;
-                            yylval->num = strtod(yytext, &end) * XkbGeomPtsPerMM;
+                            yylval->num = strtod(yytext, &end);
 
                             return FLOAT;
                         }