1. imports: imports IMPORT url
This rule prevents any rule from applying. Change to:
imports: imports IMPORT url | /* empty */;
2. term: length | STRING | HEXCOLOR | NUMBER | IDENT | attref | propref |
ENVVAR | '(' value ')';
Here propref conflicts with IDENT. Change to:
term: length | STRING | HEXCOLOR | NUMBER | IDENT | attref |
ENVVAR | '(' value ')';
3. op: '+' | '-' | '*' | '/' | INTERPOLATEHI | INTERPOLATELO | /* empty */;
Produces 2 shift/reduce conflicts. Change to:
op: '+' | '-' | '*' | '/' | INTERPOLATEHI | INTERPOLATELO;
Regards,
Glenn Adams