[PATCH] assembler.syntax doesn't highlight AMD64 registers
Hi, I noticed that assembler.syntax doesn't highlight AMD64 registers while editing some assembly files. Patch is attached. Jindrich -- Jindrich Novy [EMAIL PROTECTED], http://people.redhat.com/jnovy/ (o_ _o) //\ The worst evil in the world is refusal to think. //\ V_/_ _\_V --- mc/syntax/assembler.syntax.jn 2005-09-06 22:36:24.0 +0200 +++ mc/syntax/assembler.syntax 2006-08-23 13:24:56.0 +0200 @@ -248,6 +248,58 @@ keyword whole TR0 magenta keyword whole TR1 magenta +# Generic AMD64 registers set +keyword whole rax brightmagenta +keyword whole rbx brightmagenta +keyword whole rcx brightmagenta +keyword whole rdx brightmagenta +keyword whole rsi brightmagenta +keyword whole rdi brightmagenta +keyword whole rbp brightmagenta +keyword whole rsp brightmagenta +keyword whole r8 brightmagenta +keyword whole r9 brightmagenta +keyword whole r10 brightmagenta +keyword whole r11 brightmagenta +keyword whole r12 brightmagenta +keyword whole r13 brightmagenta +keyword whole r14 brightmagenta +keyword whole r15 brightmagenta + +keyword whole %rax brightmagenta +keyword whole %rbx brightmagenta +keyword whole %rcx brightmagenta +keyword whole %rdx brightmagenta +keyword whole %rsi brightmagenta +keyword whole %rdi brightmagenta +keyword whole %rbp brightmagenta +keyword whole %rsp brightmagenta +keyword whole %r8 brightmagenta +keyword whole %r9 brightmagenta +keyword whole %r10 brightmagenta +keyword whole %r11 brightmagenta +keyword whole %r12 brightmagenta +keyword whole %r13 brightmagenta +keyword whole %r14 brightmagenta +keyword whole %r15 brightmagenta + +keyword whole RAX brightmagenta +keyword whole RBX brightmagenta +keyword whole RCX brightmagenta +keyword whole RDX brightmagenta +keyword whole RSI brightmagenta +keyword whole RDI brightmagenta +keyword whole RBP brightmagenta +keyword whole RSP brightmagenta +keyword whole R8 brightmagenta +keyword whole R9 brightmagenta +keyword whole R10 brightmagenta +keyword whole R11 brightmagenta +keyword whole R12 brightmagenta +keyword whole R13 brightmagenta +keyword whole R14 brightmagenta +keyword whole R15 brightmagenta + # FPU registers set keyword whole st0 brightcyan keyword whole st1 brightcyan ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Current CVS compile fails on Darwin with error in mountlist.c
Hi there - I just ran cvs update; ./autogen.sh; make ... and get the following: --- snip --- mountlist.c: In function 'read_filesystem_list': mountlist.c:362: warning: passing argument 1 of 'getmntinfo' from incompatible pointer type mountlist.c:367: error: 'struct statvfs' has no member named 'f_mntfromname' mountlist.c:368: error: 'struct statvfs' has no member named 'f_mntonname' mountlist.c:372: error: 'struct statvfs' has no member named 'f_type' make[2]: *** [mountlist.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 evil-bobs-powerbook:~/mc evilbob$ uname -a Darwin evil-bobs-powerbook.local 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc --- snap --- Actually, this here sounds like some kind of explanation or related issue: FreeBSD's statvfs structure doesn't define f_mntfromname, f_mntonname or f_fstypename. They are defined in sys/mount.h for statfs. My workaround was to manually patch work/fam-2.7.0/config.h to undefine HAVE_SYS_STATVFS_H. ( from: http://www.reedmedia.net/misc/netbsd/diary/netbsd-diary-2005.html - And I even tried this workaround, patching ./config.h in this way, the implications of which I don't really understand, and it doesn't really work, i.e. it results in a different error.) Any ideas? Regards, Frank ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: Current CVS compile fails on Darwin with error in mountlist.c
On 8/23/06, Pavel Tsekov [EMAIL PROTECTED] wrote: [] Comment the line containing MOUNTED_GETMNTINFO_STATVFS in your config.h file. I have to fix this but have been quite busy in the last few weeks. Cool, it works. Thanks! ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel