Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xkbcomp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • app
  • xkbcomp
  • Issues
  • #2

Closed
Open
Created Feb 18, 2012 by Bugzilla Migration User@bugzilla-migration

xkbcomp fails on geometry files with negative floating point values

Submitted by Martin

Assigned to Xorg Project Team

Link to original bug (#46251)

Description

Created attachment 57236 Sample file to demontrate problem

xkbcomp has problems with shapes, that contain negative floating point values.

To reproduce: See attachment file.

  1. $ xkbcomp sample.xkb sample2.xkm
  2. $ xkbcomp sample2.xkb sample3.xkb

$ xkbcomp sample3.xkb syntax error: line 10 of sample3.xkb last scanned symbol is: corner Errors encountered in sample3.xkb; not compiled.

Compare original file (sample.xkb) with sample3.xkb. While positive floating points and negative integers pose no problem, negative floating point values become something like -3.-4 which makes no sense and gets a syntax error.

Attachment 57236, "Sample file to demontrate problem":
sample.xkb

Assignee
Assign to
Time tracking