VS 2013 LavishScript Extension

rlane187

Well-Known Member
I am trying to build the Visual Studio LavishScript extension on the SVN. I have managed to clear all of the compile errors except one. In LavishScript.g the following block in the grammar breaks it:
Code:
public command
	:	(dataCommand)=>dataCommand (Semi command)?->^(DataCommand dataCommand)command?
	|	(ID)=>(ID WS) commandArg* (Semi command)?->^(COMMAND ID ^(ARG commandArg*)) command?
	|	(dataSequence WS)=>(dataSequence) commandArg* (Semi command)?->^(COMMAND dataSequence ^(ARG commandArg*)) command?
		
	;
It pulls the following errors from both the 2nd and 3rd statments:
Code:
Error	27	the decision cannot distinguish between alternative(s) 1,2 for input such as "RParen EOF"	D:\VS LS Intellisense\LavishParser\Grammars\LavishScript.g	142	18	LavishParser
Error	34	the decision cannot distinguish between alternative(s) 1,2 for input such as "RParen EOF"	D:\VS LS Intellisense\LavishParser\Grammars\LavishScript.g	143	38	LavishParser
Is there a way to suppress this error or fix it?
 
Top Bottom