GNOME Bugzilla – Bug 765495
meson.lang: add 'elif' keyword and 'library' built-in function
Last modified: 2016-04-24 17:16:28 UTC
Created attachment 326629 [details] [review] meson.lang: add 'elif' keyword and 'library' built-in function Add two more highlights for the meson build system syntax specification. Unrelatedly: For some reason comments (anything after a '#') are not properly syntax-highlighted anymore, I *think* this used to work.
Review of attachment 326629 [details] [review]: Sure. both on master and 3-20
I do not see a comment context in the lang file at all. Maybe before it was just detected as python or some other language because there was no lang file? Adding a comment context should be trivial: just add <context ref="def:shell-like-comment"/> to the main context
(if you test that and it works, go ahead and push it)
Thanks, that works! Pushed to master and 3.20: commit 8eff0d8c6c7461f66268a342e5ed3648001fffab Author: Tim-Philipp Müller <tim@centricular.com> Date: Sun Apr 24 18:14:33 2016 +0100 meson.lang: fix comments https://bugzilla.gnome.org/show_bug.cgi?id=765495 commit f3df770151d482d57046c533d821d3b6cfcf4414 Author: Tim-Philipp Müller <tim@centricular.com> Date: Sun Apr 24 11:45:57 2016 +0100 meson.lang: add 'elif' keyword and 'library' built-in function https://bugzilla.gnome.org/show_bug.cgi?id=765495