From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8f802583e5c84fa X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 03 Oct 2005 12:43:46 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: String filtering References: X-Newsreader: Tom's custom newsreader Message-ID: <1KednYZNMNxP8NzeRVn-3A@comcast.com> Date: Mon, 03 Oct 2005 12:43:46 -0500 NNTP-Posting-Host: 24.6.102.223 X-Trace: sv3-Miy6Li5djpCBAkUB7sjxDj3MhSKpE4s9u+euf8a12lfTXyhAkApVH6ICE4rs2276yvyYW14X0nAcOdf!Sw3b1Kg+w9drpX+bkcXnCOpcrIJlSMb2VTn2JdWb4gWIjrL69P2h0euFSQqPeBktojcC5XfB7AVA X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:5356 Date: 2005-10-03T12:43:46-05:00 List-Id: > function Intern(Table: in out Symbol_Table; -- illegal! > X: String) return Symbol; >... > Tok: Token := Get_Token(Stream); [-- illegal] >... > function Get_Line(S: in out Stream) return String; -- illegal! Isn't that why function S'Input(Stream : access Ada.Streams.Root_Stream_Type'Class) return T; takes an access parameter? Is it very difficult to do the same with Intern or Get_Token or Get_Line?