Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Incorrect Syntax Highlighting #36

@bloeys

Description

@bloeys

Hi thanks for this nice tool.

I am using the extension on VS Code and have this simple code:

resizable_arr : [..]int;
    array_add(*resizable_arr, 1);
    print("resizable_arr=%; resizable_arr.count=%; resizable_arr.allocated=%; resizable_arr.data (ptr) = %; resizable_arr.allocator=%\n",
        resizable_arr,
        resizable_arr.count,
        resizable_arr.allocated,
        resizable_arr.data,
        resizable_arr.allocator
    );

But it gets confused with the closed bracket around resizable_arr.data (ptr) = in the string:

Image

The code compiles though.

Thanks!

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