Fix scanner: add _ and $ symbols to alpha symbols