diff options
author | andrew <andrew@FreeBSD.org> | 2012-09-02 01:48:47 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2012-09-02 01:48:47 +0000 |
commit | 2d9c0c0384761b3c52f0b4dda2e7ac0dde5c4ec4 (patch) | |
tree | 8c4b8900fc3dae345fdba9a609674b05a3fec52b /contrib/dtc | |
parent | bb5f6cf89c971de695ae610d7d6d9eed8800e7ab (diff) | |
download | FreeBSD-src-2d9c0c0384761b3c52f0b4dda2e7ac0dde5c4ec4.zip FreeBSD-src-2d9c0c0384761b3c52f0b4dda2e7ac0dde5c4ec4.tar.gz |
Fix a logic inversion in an assert to allow us to use dts files that
include other files.
Diffstat (limited to 'contrib/dtc')
-rw-r--r-- | contrib/dtc/dtc-lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dtc/dtc-lexer.l b/contrib/dtc/dtc-lexer.l index d13f606..9c4c6e5 100644 --- a/contrib/dtc/dtc-lexer.l +++ b/contrib/dtc/dtc-lexer.l @@ -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); |