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

vala syntax string #16

Open
nda-cunh opened this issue Feb 27, 2024 · 1 comment
Open

vala syntax string #16

nda-cunh opened this issue Feb 27, 2024 · 1 comment

Comments

@nda-cunh
Copy link

syn region valaString start=+"+ end=+"+ end=+$+ contains=valaSpecialChar,valaSpecialError,valaUnicodeNumber,@Spell,valaFormatChar

here you mention that a string also ends at the end of a line, which is not true

with actual code:
image

by removing the end of line:
image

var i = 5;
if (i <= 0) return;
var cmd = "vala Sully_%d.vala".printf(--i);
var code = "var i = %d;
if (i <= 0) return;
var cmd = %cvala Sully_%c%c.vala%c.printf(--i);
var code = %c%s%c;
FileUtils.set_contents(cmd.offset(5), code.printf(i,34,37,100,34,34,code,34));
Process.spawn_command_line_sync(cmd);
";
FileUtils.set_contents(cmd.offset(5), code.printf(i,34,37,100,34,34,code,34));
Process.spawn_command_line_sync(cmd);
@arrufat
Copy link
Member

arrufat commented Feb 27, 2024

@hydrasho Thank you for reporting this issue. Feel free to submit a PR :)

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

2 participants