Revert stupid change 2 commits ago and add global pointers to s-code grammar.