ocaml/parsing
Chet Murthy 0d46b5206d redo: This little patch fixes the pretty-printing of "rebind" extension-constructors (and also rebind exceptions) so that it matches the parser. With tests. a rebind extension like
type t  += A = M.A [@a]
was pretty-printed as

type t += A[@a] = M.A
[obviously wrong, also not accepted by parser]

With tests for extension-constructors and exceptions.

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch pr-extension-constructor-rebind-pprint-4.11
# Changes to be committed:
#	modified:   Changes
#	modified:   parsing/pprintast.ml
#	modified:   testsuite/tests/parsetree/source.ml
#
# Untracked files:
#	Changes.orig
#	parsing/pprintast.ml.orig
#	testsuite/tests/parsetree/source.ml.orig
#	testsuite/tests/parsetree/source.ml.rej
#
2020-09-10 11:09:06 -07:00
..
CONFLICTS.md Convert CONFLICTS to markdown format. 2018-11-21 00:06:29 +01:00
HACKING.adoc Makefile rules to test parser changes by comparing -dparsetree output 2018-09-08 12:24:29 +02:00
VIPs.md Convert VIPs to markdown format. 2018-11-21 00:06:29 +01:00
ast_helper.ml Annotate constant literals with the location of their content. 2019-11-13 16:08:40 +01:00
ast_helper.mli Add injectivity annotations (#9500) 2020-06-15 13:51:50 +02:00
ast_invariants.ml types: allow class type paths in #t 2020-01-20 17:21:02 +01:00
ast_invariants.mli manual: compiler-libs.mld -> compiler_libs.mld 2018-09-12 16:32:37 +02:00
ast_iterator.ml a better representation for modules with no name (#8908) 2019-10-09 14:15:37 +01:00
ast_iterator.mli Merge pull request #8826 from glondu/4.08-spelling-errors 2019-07-29 08:36:53 +02:00
ast_mapper.ml Add constants to Ast_mapper. 2019-11-13 16:08:41 +01:00
ast_mapper.mli Add constants to Ast_mapper. 2019-11-13 16:08:41 +01:00
asttypes.mli Add injectivity annotations (#9500) 2020-06-15 13:51:50 +02:00
attr_helper.ml Location: significantly rework the code printing errors and warnings 2018-08-08 17:42:08 +02:00
attr_helper.mli manual: compiler-libs.mld -> compiler_libs.mld 2018-09-12 16:32:37 +02:00
builtin_attributes.ml Annotate constant literals with the location of their content. 2019-11-13 16:08:40 +01:00
builtin_attributes.mli Add support for [@@immediate64] 2019-09-24 07:56:15 +01:00
depend.ml a better representation for modules with no name (#8908) 2019-10-09 14:15:37 +01:00
depend.mli Remove support for compiler plugins (#2276) 2019-03-13 11:46:37 +01:00
docstrings.ml Rename Bad_docstring => Unexpected_docstring 2020-07-20 08:31:18 +02:00
docstrings.mli manual: compiler-libs.mld -> compiler_libs.mld 2018-09-12 16:32:37 +02:00
dune Provide a way to build the bytecode compiler using Dune (#2093) 2018-10-10 16:16:00 +01:00
lexer.mli Disallow .~ in extended indexing operators. (#2106) 2018-10-22 15:33:00 +02:00
lexer.mll Quoted extensions in comments, ocamllex and ocamlyacc (#9166) 2020-02-03 10:55:28 +01:00
location.ml Use List.find_map (#9589) 2020-05-21 08:51:16 +02:00
location.mli Introduce the Lambda.scoped_location type 2020-04-27 12:51:46 +01:00
longident.ml compilerlibs: expose parsers for 'Longident.t's 2020-01-09 16:45:39 +01:00
longident.mli compilerlibs: expose parsers for 'Longident.t's 2020-01-09 16:45:39 +01:00
parse.ml compilerlibs: expose parsers for 'Longident.t's 2020-01-09 16:45:39 +01:00
parse.mli typos (#9806) 2020-07-28 12:22:03 +01:00
parser.mly Remove spurious Ptop_defs from #use (#9376) 2020-08-25 18:01:03 +01:00
parsetree.mli re-do of print polyvariants that start with a core_type,closed, not low with leading bar ("|"). 2020-09-09 13:37:36 -07:00
pprintast.ml redo: This little patch fixes the pretty-printing of "rebind" extension-constructors (and also rebind exceptions) so that it matches the parser. With tests. a rebind extension like 2020-09-10 11:09:06 -07:00
pprintast.mli Move variable printer to Pprintast 2018-11-06 13:12:54 +01:00
printast.ml -dno-locations: hide source locations (and debug events) from IR dumps 2020-01-09 15:25:16 +01:00
printast.mli manual: compiler-libs.mld -> compiler_libs.mld 2018-09-12 16:32:37 +02:00
syntaxerr.ml Move variable printer to Pprintast 2018-11-06 13:12:54 +01:00
syntaxerr.mli Move variable printer to Pprintast 2018-11-06 13:12:54 +01:00