Actually, of course there would be something missing. Added LOCAL in parser.

Added type 'scope' with values 'Local' or 'Global' so that variables
declared with 'local' will be marked as such in the parser.