Fixed option validating code to work with the new parser.
Fixed option validating code to work with the new parser.

txdv/CppSharp,xistoso/CppSharp,inordertotest/CppSharp,ddobrev/CppSharp,KonajuGames/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,KonajuGames/CppSharp,Samana/CppSharp,ddobrev/CppSharp,SonyaSa/CppSharp,nalkaro/CppSharp,mono/CppSharp,mydogisbox/CppSharp,xistoso/CppSharp,u255436/CppSharp,Samana/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,mohtamohit/CppSharp,mydogisbox/CppSharp,nalkaro/CppSharp,imazen/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,imazen/CppSharp,txdv/CppSharp,ddobrev/CppSharp,txdv/CppSharp,ddobrev/CppSharp,genuinelucifer/CppSharp,ktopouzi/CppSharp,Samana/CppSharp,ktopouzi/CppSharp,imazen/CppSharp,txdv/CppSharp,u255436/CppSharp,nalkaro/CppSharp,u255436/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,imazen/CppSharp,zillemarco/CppSharp,KonajuGames/CppSharp,mono/CppSharp,nalkaro/CppSharp,mydogisbox/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,Samana/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,txdv/CppSharp,nalkaro/CppSharp,mohtamohit/CppSharp,inordertotest/CppSharp,KonajuGames/CppSharp,zillemarco/CppSharp,mono/CppSharp,zillemarco/CppSharp,mydogisbox/CppSharp,imazen/CppSharp,inordertotest/CppSharp,mono/CppSharp,mono/CppSharp,SonyaSa/CppSharp,ktopouzi/CppSharp,Samana/CppSharp,genuinelucifer/CppSharp,u255436/CppSharp,mono/CppSharp,SonyaSa/CppSharp,mydogisbox/CppSharp,ddobrev/CppSharp,genuinelucifer/CppSharp,mohtamohit/CppSharp,genuinelucifer/CppSharp,u255436/CppSharp