Skip to content

Commit

Permalink
Fix a logic inversion in an assert to allow us to use dts files that
Browse files Browse the repository at this point in the history
include other files.
  • Loading branch information
zxombie committed Sep 2, 2012
1 parent 9b2c3ee commit fa32f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/dtc/dtc-lexer.l
Expand Up @@ -198,7 +198,7 @@ static void push_input_file(const char *filename)
{
assert(filename);

assert(include_stack_pointer >= MAX_INCLUDE_NESTING);
assert(include_stack_pointer < MAX_INCLUDE_NESTING);

srcfile_push(filename);

Expand Down

0 comments on commit fa32f1f

Please sign in to comment.