elekras created an issue (geany/geany#4280) Hello, I am writing filetypes.XA65.conf syntax highlight for xa65 cross assembler. All is fine, only hex number in the form $xxxx and binary number like %xxxxxxxx are not recognized as numbers. Also the directive = (.equ) is not recognized.
This is my filetypes.XA65.conf: # For complete documentation of this file, please see Geany's main documentation [styling] # Edit these in the colorscheme .conf file instead default=default comment=comment_line commentblock=comment commentdirective=comment number=number_1 string=string_1 operator=operator identifier=identifier_1 cpuinstruction=keyword_1 mathinstruction=keyword_2 register=type directive=preprocessor directiveoperand=keyword_3 character=character stringeol=string_eol extinstruction=keyword_4 [keywords] # all items must be in one line instructions=lda ldx ldy sta stx sty stz pha phx phy php pla plx ply plp tsx txs ina inx iny dea dex dey inc dec asl lsr rol ror and ora eor bit cmp cpx cpy trb tsb rmb smb adc sbc jmp jsr rts rti bra beq bne bcc bcs bvc bmi bpl bbr bbs clc cld cli clv sec sei sed tax tay txa tya nop brk #registers=a directives= = .byt .asc .aasc .word .dsb .bin .( .) .as .al .xs .xl .assert .include .listbytes .text .data .bss .zero .code . zeropage .align .fopt .import .importzp #include #ech #print #error #define #ifdef #if #iflused #ifldef #else [settings] # default extension used when saving files extension=xa65 lexer_filetype=ASM #mime_type=text/x-xa65src # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 # single comments, like # in this file comment_single=; # multiline comments #comment_open= #comment_close= # set to false if a comment character/string should start at column 0 of a line, true uses any # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d #command_example(); # setting to false would generate this # command_example(); # This setting works only for single line comments comment_use_indent=true # context action command (please see Geany's main documentation for details) context_action_cmd= [indentation] width=8 # 0 is spaces, 1 is tabs, 2 is tab & spaces type=1 [build_settings] # %f will be replaced by the complete filename # %e will be replaced by the filename without extension # (use only one of it at one time) compiler=xa65 "%f" [build-menu] FT_00_LB=as FT_00_CM= FT_00_WD= Regards -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/4280 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/4...@github.com>