Skip to content

How to define a macro with value via command line? #22

Open
@db4

Description

I must be missing something but cppo -D VAL=1 test.ml doesn't work:

let x = VAL

is expanded into

#1 "test.ml"
let x =  
#1      
        =1

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions