Skip to content

'Invalid macro application' from unbalanced parentheses in comment #27

Open
@dariusf

Description

This seems to have been caused by the parser changes in 1.3.0. Minimal repro:

a(* ( *)

Here's the error message.

$ cppo main.ml
Error: File "main.ml", line 1, characters 0-2
Error: Invalid macro application

The lack of a space before the opening parenthesis of the comment is significant: when added, this parses.

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