diff options
Diffstat (limited to 'dtc-lexer.l')
-rw-r--r-- | dtc-lexer.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dtc-lexer.l b/dtc-lexer.l index 04b1753..8f15c4d 100644 --- a/dtc-lexer.l +++ b/dtc-lexer.l @@ -190,6 +190,13 @@ static int pop_input_file(void); return DT_PROPNODENAME; } +"/incbin/" { + yylloc.file = srcpos_file; + yylloc.first_line = yylineno; + DPRINT("Binary Include\n"); + return DT_INCBIN; + } + <*>[[:space:]]+ /* eat whitespace */ <*>"/*"([^*]|\*+[^*/])*\*+"/" { |