Change-Id: I0e02d26bef1c3eafbc4645ccbcf3a70930d89973
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
# This does not check all rules of "RULES"
# This is a prototype with a lot of work in progress
-# TODO: Context-Aware Rule Check. (inter-block relations)
-# Check if root exists for RULE 1-6
-# Check if sub1 exists for RULE 1-7
-# Check if a block is "Suggested/Required" by another block (orphan check)
-
-
from __future__ import print_function
import re
error += 1
print("ERROR: Orphaned sub block. The block "+n+" is not registered at the parent block "+p+" although "+p+" exists.")
- # TODO: Which item?
+ # TODO: Add more rules here?