How many states are there in the following augmented grammar using lr(0) parser ?
S -> .Sdollar (Dollar is actually symbol dollar but it's causing formatting issue so I wrote it in words)
S -> x / (A)
A -> A,S / S
In first production do we shift two times or one time ?
S -> S.dollar and S->Sdollar. or only S->S.dollar . Because last symbol is implicit right ?