Skip to content

Parsing: delay registration of docstrings after the lexer mapper is applied ..#563

Closed
hhugo wants to merge 1 commit intoocaml:4.03from
hhugo:docstring1
Closed

Parsing: delay registration of docstrings after the lexer mapper is applied ..#563
hhugo wants to merge 1 commit intoocaml:4.03from
hhugo:docstring1

Conversation

@hhugo
Copy link
Contributor

@hhugo hhugo commented Apr 27, 2016

.. so that docstrings filtered out by a lexer preprocessor [1] are correctly ignored.
[1] eg. https://github.com/janestreet/ppx_optcomp

@lpw25
Copy link
Contributor

lpw25 commented Apr 29, 2016

Looks good to me

@damiendoligez damiendoligez modified the milestones: 4.04, 4.03.1 May 3, 2016
@alainfrisch
Copy link
Contributor

@hhugo Can you make this against trunk? (I don't think Github let's you change the target of an existing PR.)

@hhugo
Copy link
Contributor Author

hhugo commented Jul 11, 2016

#679

@hhugo hhugo deleted the docstring1 branch July 11, 2016 08:27
lthls pushed a commit to lthls/ocaml that referenced this pull request Jul 16, 2021
stedolan added a commit to stedolan/ocaml that referenced this pull request May 24, 2022
…28) (ocaml#563)

* Improve code-generation for inlined comparisons (ocaml#10228)

Compile `if (let x = E in COND) then IFSO else IFNOT` like `let x = E in if COND then IFSO else IFNOT`.

Co-authored-by: Stephen Dolan <[email protected]>
stedolan pushed a commit to stedolan/ocaml that referenced this pull request May 24, 2022
fe8a98b flambda-backend: Save Mach as Cfg after Selection (ocaml#624)
2b205d8 flambda-backend: Clean up algorithms (ocaml#611)
524f0b4 flambda-backend: Initial refactoring of To_cmm (ocaml#619)
0bf75de flambda-backend: Refactor and correct the "is pure" and "can raise" (port upstream PR#10354 and PR#10387) (ocaml#555)
d234bfd flambda-backend: Cpp mangling is now a configuration option (ocaml#614)
20fc614 flambda-backend: Check that stack frames are not too large (ocaml#10085) (ocaml#561)
5fc2e95 flambda-backend: Allow CSE of immutable loads across stores (port upstream PR#9562) (ocaml#562)
2a650de flambda-backend: Backport commit fc95347 from trunk (ocaml#584)
31651b8 flambda-backend: Improved ARM64 code generation (port upstream PR#9937) (ocaml#556)
f0b6d68 flambda-backend: Simplify processing and remove dead code (error paths) in asmlink (port upstream PR#9943) (ocaml#557)
90c6746 flambda-backend: Improve code-generation for inlined comparisons (port upstream PR#10228) (ocaml#563)

git-subtree-dir: ocaml
git-subtree-split: fe8a98b
lpw25 pushed a commit to lpw25/ocaml that referenced this pull request Jun 21, 2022
…t upstream PR#10228) (ocaml#563)

* Improve code-generation for inlined comparisons (ocaml#10228)

Compile `if (let x = E in COND) then IFSO else IFNOT` like `let x = E in if COND then IFSO else IFNOT`.

Co-authored-by: Stephen Dolan <[email protected]>
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
…caml#1176)

This reverts commit 0f416573078fea425ed4bf22238232083b609f2e.

Rectifying a mistake: this change shouldn't have been pushed without more discussion and a consensus.
If we want to make this change, let's open an RFC first.
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.

4 participants