mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix parsing decimals
A number literal is a float if it contains ".", not if it is divisible by 1. For example, 1.0 should be considered a float literal.
This commit is contained in:
parent
c69a12096c
commit
883a136103
8 changed files with 24 additions and 6 deletions
|
@ -19,7 +19,7 @@ build:
|
|||
- ninja -C _build docs/en
|
||||
- git clone https://gitlab.gnome.org/jwestman/blueprint-regression-tests.git
|
||||
- cd blueprint-regression-tests
|
||||
- git checkout 3077f669fc9c8e3ceb4da85e6bda680c297c58a2
|
||||
- git checkout 9bfb9325d75a9985310230f119579f07df519e60
|
||||
- ./test.sh
|
||||
- cd ..
|
||||
coverage: '/TOTAL.*\s([.\d]+)%/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue