Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend decimal numbers notation. #185

Merged
merged 2 commits into from Sep 6, 2017
Merged

Extend decimal numbers notation. #185

merged 2 commits into from Sep 6, 2017

Conversation

ghost
Copy link

@ghost ghost commented Aug 19, 2017

A small proposal of extension for the syntax of decimal numbers.

At local branch 'dev-decimal-zeroed-implicit-integer-part'.

Allow positive decimal numbers lesser than 1 to be able to have
implicit their zero valued integer part. Adapt tokenizer test with
some testing of the proposed change.
src/formula.cpp: Add one missing test demonstrating equality of
explicit and implicit zero valued integer part of a positive decimal
because parsing of the implicit case being correct (even without being
necessary any change in the decimal parser).
@davewx7 davewx7 merged commit 77fc4f1 into anura-engine:trunk Sep 6, 2017
@ghost ghost deleted the dev-decimal-zeroed-implicit-integer-part branch February 11, 2018 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants