aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/string_notation.ml
diff options
context:
space:
mode:
authorHugo Herbelin2020-01-31 13:36:34 +0100
committerHugo Herbelin2020-03-22 15:02:43 +0100
commit08189431706298d599cffea2e41dd51290305ba3 (patch)
tree919eaba259e65658dc1cda1615250222bac08e9a /plugins/syntax/string_notation.ml
parent2a31e23df8ff0ab67a09008858fa49e77e5f4332 (diff)
Centralizing all kinds of numeral string management in numTok.ml.
Four types of numerals are introduced: - positive natural numbers (may include "_", e.g. to separate thousands, and leading 0) - integer numbers (may start with a minus sign) - positive numbers with mantisse and signed exponent - signed numbers with mantisse and signed exponent In passing, we clarify that the lexer parses only positive numerals, but the numeral interpreters may accept signed numerals. Several improvements and fixes come from Pierre Roux. See https://github.com/coq/coq/pull/11703 for details. Thanks to him.
Diffstat (limited to 'plugins/syntax/string_notation.ml')
0 files changed, 0 insertions, 0 deletions