turn off warnings for alt i and '.' alt if at i+1 or below
a : A | B | . ;
or perhaps just if '.' is last