Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005902OCamlOCaml generalpublic2013-01-23 00:452015-12-11 19:18
Assigned Tofrisch 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005902: -ppx based pre-processor executables could be able to accept arguments
DescriptionE.g. I would like to call the pre-processor executable this way:

ocamlopt -ppx "../my_extension -fail-with-code 0"

this would allow to pass some parameters to the extension.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
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/ 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
2015-12-11 19:18 xleroy Status resolved => closed

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker