Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2012 01:48:47 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239998 - head/contrib/dtc
Message-ID:  <201209020148.q821ml0M018010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sun Sep  2 01:48:47 2012
New Revision: 239998
URL: http://svn.freebsd.org/changeset/base/239998

Log:
  Fix a logic inversion in an assert to allow us to use dts files that
  include other files.

Modified:
  head/contrib/dtc/dtc-lexer.l

Modified: head/contrib/dtc/dtc-lexer.l
==============================================================================
--- head/contrib/dtc/dtc-lexer.l	Sat Sep  1 23:33:49 2012	(r239997)
+++ head/contrib/dtc/dtc-lexer.l	Sun Sep  2 01:48:47 2012	(r239998)
@@ -198,7 +198,7 @@ static void push_input_file(const char *
 {
 	assert(filename);
 
-	assert(include_stack_pointer >= MAX_INCLUDE_NESTING);
+	assert(include_stack_pointer < MAX_INCLUDE_NESTING);
 
 	srcfile_push(filename);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209020148.q821ml0M018010>