From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com ([134.134.136.20]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S0awz-0003j2-9w for bitbake-devel@lists.openembedded.org; Thu, 23 Feb 2012 16:51:21 +0100 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 23 Feb 2012 07:42:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208";a="111228884" Received: from unknown (HELO helios.ger.corp.intel.com) ([10.252.123.61]) by orsmga001.jf.intel.com with ESMTP; 23 Feb 2012 07:42:58 -0800 From: Paul Eggleton To: bitbake-devel@lists.openembedded.org Date: Thu, 23 Feb 2012 15:42:51 +0000 Message-Id: X-Mailer: git-send-email 1.7.5.4 Subject: [PATCH 0/2] A couple of fixes to error handling X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 15:51:21 -0000 A couple of patches to fix/improve error handling during parsing. The patches (against poky, but apply cleanly with -p2 against bitbake master) are available at: git://git.yoctoproject.org/poky-contrib paule/bitbake-errors2 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/bitbake-errors2 Paul Eggleton (2): bitbake: fix parse errors not being reported bitbake: add file and line number to ParseError bitbake/lib/bb/cooker.py | 16 ++++++---------- bitbake/lib/bb/parse/__init__.py | 15 +++++++++++++-- bitbake/lib/bb/parse/ast.py | 8 ++++---- bitbake/lib/bb/parse/parse_py/BBHandler.py | 6 ++---- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 11 ++++++----- 5 files changed, 31 insertions(+), 25 deletions(-) -- 1.7.5.4