Skip to content

Cannot have comments in @PCode #76

Description

@kjarosh

The following code fails with the following panic.

@PCode {
    // hello
    Push 0
    Trace
}
thread 'main' ([...]) panicked at [...]/rascal-0.3.5/src/internal/as2_codegen/statement.rs:110:37:
error: invalid action name
  ╭▸ inline pcode
  │

It would be nice if:

  1. the error message was more specific,
  2. comments were supported in @PCode blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions