#208 - Lexer: removed set, changed vector to map to store rail functions properly