Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

program crashes: generated invalid YAML error #4

Open
chtenb opened this issue Jan 8, 2022 · 0 comments
Open

program crashes: generated invalid YAML error #4

chtenb opened this issue Jan 8, 2022 · 0 comments

Comments

@chtenb
Copy link

chtenb commented Jan 8, 2022

No output is given, and I'm getting the following error message

$ ruby ~/prj/SublimeSyntaxConvertor/bin/sublime_syntax_convertor purescript.tmLanguage 
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"include"=>"#data_ctor"}]}, "2"=>{"name"=>"meta.type-signature.purescript", "patterns"=>[{"include"=>"#type_signature"}]}}
patterns and includes are not supported within captures: {"1"=>{"name"=>"punctuation.definition.string.begin.purescript"}, "2"=>{"patterns"=>[{"include"=>"#characters"}]}, "7"=>{"name"=>"punctuation.definition.string.end.purescript"}}
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"include"=>"$self"}]}, "2"=>{"name"=>"keyword.other.double-colon.purescript"}, "3"=>{"name"=>"meta.type-signature.purescript", "patterns"=>[{"include"=>"#type_signature"}]}}
WARNING:
        pop pattern contains \G, this will not work as expected
        if it's intended to refer to the begin regex: (?!\G)
WARNING:
        pop pattern contains \G, this will not work as expected
        if it's intended to refer to the begin regex: (?!\G)
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"name"=>"entity.other.attribute-name.purescript", "match"=>"(?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?:\\.[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)*\\.)?[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*"}]}, "2"=>{"name"=>"keyword.other.double-colon.purescript"}}
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"include"=>"#class_constraint"}]}, "4"=>{"name"=>"keyword.other.big-arrow.purescript"}}
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"include"=>"#class_constraint"}]}, "4"=>{"name"=>"keyword.other.big-arrow.purescript"}}
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"name"=>"entity.name.type.purescript", "match"=>"\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?:\\.[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)*"}]}, "2"=>{"patterns"=>[{"include"=>"#type_name"}, {"include"=>"#generic_type"}]}}
patterns and includes are not supported within captures: {"1"=>{"patterns"=>[{"name"=>"entity.name.type.purescript", "match"=>"\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?:\\.[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)*"}]}, "2"=>{"patterns"=>[{"include"=>"#type_name"}, {"include"=>"#generic_type"}]}}
Traceback (most recent call last):
        2: from /home/chiel/prj/SublimeSyntaxConvertor/bin/sublime_syntax_convertor:24:in `<main>'
        1: from /home/chiel/prj/SublimeSyntaxConvertor/bin/sublime_syntax_convertor:24:in `each'
/home/chiel/prj/SublimeSyntaxConvertor/bin/sublime_syntax_convertor:39:in `block in <main>': Sorry, generated invalid YAML! /home/chiel/prj/vscode-language-purescript/syntaxes/purescript.tmLanguage (RuntimeError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant