User forums > Using Code::Blocks

Has anyone written a lexer for ARM gcc assembler


The assembler files used by arm gcc use a C-like syntax (comments, number format, even some preprocessor stuff). So I tried to build a lexer based upon the C lexer (type 3). But I failed. It does not detect my CPU instructions because the "casesensitive" option is ignored and also not the assembler commands beginning with a dot, like .equ. The dot becomes red, the equ is default style.

In generally find these lexer definitions very confusing. So I ask here, has anyone already created a lexer for ARM assembler for gcc?

Thank you


[0] Message Index

Go to full version