slcc: Add get_current_char and get_previous_char