Thursday, June 2, 2011

highlight assembly language syntax on Gedit

save the following file http://bugzilla.gnome.org/attachment.cgi?id=45158&action=view as asm.lang,
put it into /usr/share/gtksourceview-2.0/language-specs

ref: http://forum.ubuntu.org.cn/viewtopic.php?f=97&t=82293

Note: works for a complete assembly source file. Does not work on gcc inline assebmly mixed with C.

No comments: