Deleted Added
full compact
dtc-lexer.l (238742) dtc-lexer.l (239998)
1/*
2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
3 *
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.

--- 184 unchanged lines hidden (view full) ---

193 }
194
195%%
196
197static void push_input_file(const char *filename)
198{
199 assert(filename);
200
1/*
2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
3 *
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.

--- 184 unchanged lines hidden (view full) ---

193 }
194
195%%
196
197static void push_input_file(const char *filename)
198{
199 assert(filename);
200
201 assert(include_stack_pointer >= MAX_INCLUDE_NESTING);
201 assert(include_stack_pointer < MAX_INCLUDE_NESTING);
202
203 srcfile_push(filename);
204
205 yyin = current_srcfile->f;
206
207 include_stack[include_stack_pointer++] = YY_CURRENT_BUFFER;
208
209 yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE));

--- 18 unchanged lines hidden ---
202
203 srcfile_push(filename);
204
205 yyin = current_srcfile->f;
206
207 include_stack[include_stack_pointer++] = YY_CURRENT_BUFFER;
208
209 yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE));

--- 18 unchanged lines hidden ---