| Anonymous | Login | Signup for a new account | 2013-05-24 23:33 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0005902 | OCaml | OCaml general | public | 2013-01-23 00:45 | 2013-01-23 09:42 | |||||||
| Reporter | meyer | |||||||||||
| Assigned To | frisch | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | resolved | Resolution | fixed | |||||||||
| Platform | OS | OS Version | ||||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Summary | 0005902: -ppx based pre-processor executables could be able to accept arguments | |||||||||||
| Description | E.g. I would like to call the pre-processor executable this way:ocamlopt -ppx "../my_extension -fail-with-code 0" test.ml this would allow to pass some parameters to the extension. | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Notes |
|
|
(0008784) frisch (developer) 2013-01-23 09:42 |
This is already the case: -ppx takes an external command and simply adds two arguments to it. The ppx program can parse its first arguments as it wants. I've updated the "standard driver" in parsing/ast_mapper.ml to document this fact. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2013-01-23 00:45 | meyer | New Issue | |
| 2013-01-23 00:45 | meyer | Status | new => assigned |
| 2013-01-23 00:45 | meyer | Assigned To | => frisch |
| 2013-01-23 00:45 | meyer | Description Updated | View Revisions |
| 2013-01-23 09:42 | frisch | Note Added: 0008784 | |
| 2013-01-23 09:42 | frisch | Status | assigned => resolved |
| 2013-01-23 09:42 | frisch | Resolution | open => fixed |
| Copyright © 2000 - 2011 MantisBT Group |