ocaml/toplevel
Hugo Heuzard 9eca3e4519 Parse arbitrary precision integers ..
.. and allow any letter in [g-zG-Z] as modifier (previously 'l','L','n')
Also allow modifier for floats
This give more freedom to ppx rewritters (what about a ppx for zarith)

Checks are performed when translating from Parsetree to Typedtree.
Invalid_literal is raised if the modifier is not recognized ([lLn]?)
Integer_overflow is raised as before.

Lexer: use g-zG-Z for integer literal modifier

Lexer: Allow modifier on float

Clean wrt previous commits

Lexer: use named substring

Cleanup

typo

doc

fix after rebase

rebase on  trunk

Update typecore.ml

Fix printast.ml
2015-12-03 17:20:48 +01:00
..
expunge.ml fix typo (see PR#6704) 2015-01-08 22:57:34 +00:00
genprintval.ml rewrite cycle-detection in genprintval.ml to use O instead of Obj 2014-12-13 15:33:48 +00:00
genprintval.mli Attach documentation comments to Parsetree 2015-06-28 13:11:50 +00:00
opttopdirs.ml Add a -dtypedtree flag to all tools (using Printtyped). Also fix ocamlnat. 2012-12-18 17:19:53 +00:00
opttopdirs.mli remove all $Id keywords 2012-10-15 17:50:56 +00:00
opttoploop.ml whitespace cleanup, cut long lines, add some missing headers 2015-09-11 11:58:31 +00:00
opttoploop.mli PR#5584: merge open extensible types, extension-patch-4.0.2 2014-05-04 23:08:45 +00:00
opttopmain.ml merge changes of version/4.02 from r15121 to r15155 2014-08-29 17:14:00 +00:00
opttopmain.mli remove all $Id keywords 2012-10-15 17:50:56 +00:00
opttopstart.ml remove all $Id keywords 2012-10-15 17:50:56 +00:00
topdirs.ml whitespace cleanup, cut long lines, add some missing headers 2015-09-11 11:58:31 +00:00
topdirs.mli remove all $Id keywords 2012-10-15 17:50:56 +00:00
toplevellib.mllib merge version/4.00 at revision 12866 2012-08-21 07:10:35 +00:00
toploop.ml Parse arbitrary precision integers .. 2015-12-03 17:20:48 +01:00
toploop.mli whitespace cleanup, cut long lines, add some missing headers 2015-09-11 11:58:31 +00:00
topmain.ml Prepare environment (with Compenv.readenv) before executing script passed on the toplevel command-line. 2014-10-01 14:50:36 +00:00
topmain.mli remove all $Id keywords 2012-10-15 17:50:56 +00:00
topstart.ml remove all $Id keywords 2012-10-15 17:50:56 +00:00
trace.ml exhauce PR#6367: introduce Asttypes.arg_label to encode labelled arguments 2014-12-22 08:45:55 +00:00
trace.mli remove all $Id keywords 2012-10-15 17:50:56 +00:00