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:
It pulls the following errors from both the 2nd and 3rd statments:
Is there a way to suppress this error or fix 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?
;
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