summaryrefslogtreecommitdiffstats
path: root/contrib/dtc/dtc-lexer.l
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2012-09-02 01:48:47 +0000
committerandrew <andrew@FreeBSD.org>2012-09-02 01:48:47 +0000
commit2d9c0c0384761b3c52f0b4dda2e7ac0dde5c4ec4 (patch)
tree8c4b8900fc3dae345fdba9a609674b05a3fec52b /contrib/dtc/dtc-lexer.l
parentbb5f6cf89c971de695ae610d7d6d9eed8800e7ab (diff)
downloadFreeBSD-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/dtc-lexer.l')
-rw-r--r--contrib/dtc/dtc-lexer.l2
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);
OpenPOWER on IntegriCloud