[dredd-rule-lib] functions to check error conditions (#8942)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Fri, 15 Nov 2019 07:44:41 +0000 (16:44 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 15 Nov 2019 07:44:41 +0000 (16:44 +0900)
commite9e97612d1b9b525a56d65971229c461c035b8c7
tree8d46e2911f8d6b4cd3a3290c1bc5817b66a0a377
parentda685c35def19e9fc011fb89d5613519636be612
[dredd-rule-lib] functions to check error conditions (#8942)

* [dredd-rule-lib] functions to check error conditions

This removes duplicated if statements and adds some functions for error conditions.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* using vars instead of  and
compiler/dredd-rule-lib/rule-lib.sh