kbproto unentanglement: XkbGeomPtsPerMM
Signed-off-by: Daniel Stone <daniel@fooishbar.org>master
parent
e60e9523c6
commit
fa1ea9a5bf
|
@ -724,7 +724,7 @@ SignedNumber : MINUS Number { $$ = -$2; }
|
|||
;
|
||||
|
||||
Number : FLOAT { $$ = $1; }
|
||||
| INTEGER { $$ = $1 * XkbGeomPtsPerMM; }
|
||||
| INTEGER { $$ = $1; }
|
||||
;
|
||||
|
||||
Float : FLOAT { $$ = 0; }
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue