format llerrors correctly
allow olugins to register grammar properly