23 |
#include <config.h> |
#include <config.h> |
24 |
#endif |
#endif |
25 |
#include <stdio.h> |
#include <stdio.h> |
26 |
|
#ifdef HAVE_STRING_H |
27 |
|
#include <string.h> |
28 |
|
#else |
29 |
|
#include <strings.h> |
30 |
|
#endif |
31 |
|
|
32 |
#include "asm_parse.h" |
#include "asm_parse.h" |
33 |
|
#include "asm_res.h" |
34 |
#include "die.h" |
#include "die.h" |
35 |
#include "gctags.h" |
#include "gctags.h" |
36 |
|
#include "gparam.h" |
37 |
#include "linetable.h" |
#include "linetable.h" |
38 |
#include "strbuf.h" |
#include "strbuf.h" |
39 |
|
|
123 |
<INITIAL>{ |
<INITIAL>{ |
124 |
^[ \t]*\#[ \t]*define { yy_push_state(PREPROCESSOR_LINE); return ASM_DEFINE; } |
^[ \t]*\#[ \t]*define { yy_push_state(PREPROCESSOR_LINE); return ASM_DEFINE; } |
125 |
^[ \t]*\#[ \t]*undef { yy_push_state(PREPROCESSOR_LINE); return ASM_UNDEF; } |
^[ \t]*\#[ \t]*undef { yy_push_state(PREPROCESSOR_LINE); return ASM_UNDEF; } |
126 |
^[ \t]*\#[ \t]*{WORD} | |
^[ \t]*\#[ \t]*{WORD} { |
127 |
|
if (reserved_sharp(yytext, yyleng)) { |
128 |
|
yy_push_state(PREPROCESSOR_LINE); |
129 |
|
return ASM_DIRECTIVE; |
130 |
|
} else { |
131 |
|
yy_push_state(LINE_COMMENT); |
132 |
|
} |
133 |
|
} |
134 |
^[ \t]*\# { yy_push_state(PREPROCESSOR_LINE); return ASM_DIRECTIVE; } |
^[ \t]*\# { yy_push_state(PREPROCESSOR_LINE); return ASM_DIRECTIVE; } |
135 |
(call|jsr) { return ASM_CALL; } |
(call|jsr) { return ASM_CALL; } |
136 |
^(ENTRY|ALTENTRY|NENTRY|GLOBAL_ENTRY|JSBENTRY|C_SYMBOL_NAME|C_ENTRY) { |
^(ENTRY|ALTENTRY|NENTRY|GLOBAL_ENTRY|JSBENTRY|C_SYMBOL_NAME|C_ENTRY) { |