Skip to content

%{ single line comment #26

@JohnC32

Description

@JohnC32

Hi

Thanks again for creating matlab tree-sitter. I've been making progress on leveraging it for Emacs. I notice "% single line comments" and multiline comments are handled correctly

% single line comment

%{
multiline
comment 
is handled
%}

One problem is that %{ followed by text is a single line comment, e.g. in following, myVar has value 1 and the statement is the same as: myVar = 1

myVar = 1 %{single line comment %} + 1;

%{ this is also a single line comment

Could you update to handle this?

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