Allow KernelConfigParser to be less restrictive
Rewrite KernelConfigParser::processRemaining() to allow
the following text:
# CONFIG_NOT_SET is not set
CONFIG_ONE=1 # 'tis a one!
CONFIG_TWO=2 #'tis a two!
CONFIG_THREE=3#'tis a three!
CONFIG_233=233#'tis a three!
CONFIG_Y=y
CONFIG_YES=y#YES!
CONFIG_STR=string
CONFIG_HELLO=hello world! #still works
CONFIG_WORLD=hello world!
CONFIG_GOOD = good morning! #comments here
CONFIG_MORNING = good morning!
Test: libvintf_test
Bug: 38324908
Change-Id: I1e8112b8cbf1f1d8a2b6b34daa9a593eff69cff2
2 files changed