Update extensions/codegen/parsec.ring - Produce clear error message if we can't parse a line in the configuration file
@@ -328,7 +328,9 @@ Func ThreeParts cLine
exit
off
next
-
+ if nPos2 = 0 or cFuncName = ""
+ Raise("Can't parse this line in the configuration file")
+ ok
cFuncOutput = left(cLine,nPos2-1)
cFuncPara = substr(cLine,nPos1+1,len(cLine)-nPos1-1)
return [C_INS_FUNCTION,cFuncOutput,cFuncName,ParaList(cFuncPara)]
