After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792104 - Add newer Erlang compiler directives
Add newer Erlang compiler directives
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-01 20:36 UTC by Yaron Sheffer
Modified: 2018-01-14 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yaron Sheffer 2018-01-01 20:36:09 UTC
erlang.lang is missing some common directives under the "compiler-directives" section:

-error (ref: http://erlang.org/doc/reference_manual/macros.html)
-warning (same)
-vsn (ref: http://erlang.org/doc/reference_manual/modules.html)
-on_load (same)
-behaviour (same, note British spelling)
Comment 1 Sébastien Wilmet 2018-01-14 10:33:35 UTC
Done:
commit c4b40db50cd48ed326d303dda1717bd8188431db

Thanks for the bug report.

(note that I've not tested the change, I don't know Erlang).