Skip to content

Using with_prototype in syntax causes infinite recursion on Linux #6610

@nwoltman

Description

@nwoltman

Description of the bug

I am the creator of the EJS 2 syntax. The syntax definition I created for EJS uses with_prototype to embed JS into HTML. As of ST version 4186, the syntax definition can no longer load only on Linux due to an "Apparent recursion within a with_prototype action".

Steps to reproduce

  1. Using Ubuntu (or other Linux distro I assume, I only tried Ubuntu), install ST from scratch
  2. Install Package Control
  3. Install EJS 2 package
  4. Open a file and try to set the syntax to EJS 2 -> (any in the list)

Expected behavior

No error should occur and the syntax should work just like it does on Windows and MacOS

Actual behavior

The following error happens:

image

Sublime Text build number

4192

Operating system & version

Ubuntu 24.10

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information


Metadata

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