summaryrefslogtreecommitdiff
path: root/t/base/lex.t
Commit message (Collapse)AuthorAgeFilesLines
* Move the test for the deprecated feature <<; out of t/base/lext.tNicholas Clark2009-10-161-4/+5
| | | | Tests in base can't utilise pragmata, specifically no warnings 'deprecated';
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Amelioration of the error message "Unrecognized character %s in column %d"Claes Jakobsson2009-05-141-1/+1
| | | | | | Changes the error message to "Unrecognized character %s; marked by <-- HERE after %s<-- HERE near column %d". This should make it a little simpler to spot and correct the suspicious character.
* Better test case for [perl #63854] Error parsing "[~"Ian Goodacre2009-03-141-5/+2
|
* Return OPERATOR('[') for '[' without falling through to case '~', avoiding ↵Ian Goodacre2009-03-141-1/+9
| | | | misinterpreting "[~" as an OP_SMARTMATCH.
* Re: [PATCH] Adding more information to "Unrecognized character" error in toke.cClaes Jacobsson2007-08-101-1/+5
| | | | | Message-Id: <57CEC660-0020-48DF-A72A-931BCADC2AEE@surfar.nu> p4raw-id: //depot/perl@31699
* Silence mandatory warning by using @# instead of $#.Rafael Garcia-Suarez2007-07-131-1/+1
| | | | | | | | "no warnings" is probably a bit inappropriate for a base test. Putting -X on the command-line is probably not a good idea, since it may hide other interesting warnings in the future. p4raw-id: //depot/perl@31601
* Re: mysterious bytecode.t failureAdrian M. Enache2003-08-221-1/+4
| | | | | Message-ID: <20030822084934.GA1257@ratsnest.hole> p4raw-id: //depot/perl@20840
* Test For Echo, take 2Michael G. Schwern2001-12-071-2/+2
| | | | | Message-ID: <20011207035634.GO22648@blackrider> p4raw-id: //depot/perl@13507
* Retract #13496 for now.Jarkko Hietaniemi2001-12-061-2/+2
| | | p4raw-id: //depot/perl@13499
* (retracted by #13499)Michael G. Schwern2001-12-061-2/+2
| | | | | | Subject: [PATCH t/base/lex.t, term.t] Purging echo from base tests Message-ID: <20011206201528.GF16414@blackrider> p4raw-id: //depot/perl@13496
* The $^N is now taken (by #11038).Jarkko Hietaniemi2001-06-301-10/+10
| | | p4raw-id: //depot/perl@11044
* Fix for ID 20010619.002 "When building hash, hash keys thatJarkko Hietaniemi2001-06-201-1/+16
| | | | | are function calls are not being called", from Abhijit. p4raw-id: //depot/perl@10763
* downgrade fatal error on C<"foo@nosucharray.com"> to optional warningGurusamy Sarathy2000-05-281-1/+40
| | | | | (from Mark-Jason Dominus) p4raw-id: //depot/perl@6122
* fix parsing of here documents in C<eval 's/.../<<FOO/e'>Gurusamy Sarathy1999-03-091-3/+27
| | | p4raw-id: //depot/perl@3098
* avoid literal control characters in change#3039Gurusamy Sarathy1999-02-281-3/+3
| | | | | p4raw-link: @3039 on //depot/perl: 2b92dfceaa9d709661beb0761c3c790732df0cbc p4raw-id: //depot/perl@3040
* todo item: permit extended control variables a la ${^Foo} (patchGurusamy Sarathy1999-02-281-1/+66
| | | | | courtesy Mark-Jason Dominus <mjd@plover.com>) p4raw-id: //depot/perl@3039
* [win32] merge changes#996,998,999 from maintbranchGurusamy Sarathy1998-05-161-3/+9
| | | | | | | p4raw-link: @999 on //depot/maint-5.004/perl: 52d674631edd5d1237df7203efc4396c3b77f8e7 p4raw-link: @998 on //depot/maint-5.004/perl: 8eaf12205a772c0a833cee734c82473643013f95 p4raw-link: @996 on //depot/maint-5.004/perl: 44110adace3111d6546fef417a9c88b22157bba2 p4raw-id: //depot/win32/perl@1006
* [win32] merge another maintpatch to toke.cHugo van der Sanden1998-03-031-1/+7
| | | | | | Message-Id: <199711221445.OAA14153@crypt.compulink.co.uk> Subject: Re: [PERL] Here-doc in s///e (was: Bug) p4raw-id: //depot/win32/perl@629
* Re: q and escaping paired delimitersKenneth Albanowski1997-08-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Sun, 27 Jul 1997 chrisn@rock.petersons.com wrote: > $\ = "\n"; > print '\'this\''; > print q{'this'}; > print q{{this}}; > print q{\{this\}}; > > I would expect the output to be: > > 'this' > 'this' > {this} > {this} That this should be fixed makes perfect sense to me. You can view easily view backwhacking both sides as a generalization of backwhacking the quote for an unbalanced q''. In fact, the code in toke.c looks a little suspicious, as if a cut'n'paste error happened, and the balanced branch didn't get the cleanup it deserved. There's a "if term != '\\'" statement that does nothing, for example. Here'a patch over 5.004_01 (although I'd expect it to work with most versions) to allow you to escape both the starting and end quotes for q (unbalanced and qq is unchanged), and the obligatory addition to the tests. If nobody has any complaints, I expect this will be in _02. Credited: Gurusamy Sarathy <gsar@engin.umich.edu> p5p-msgid: Pine.LNX.3.93.970727172201.350K-100000@kjahds.com
* Test nested here-docsHugo van der Sanden1997-01-251-7/+21
| | | | | | Subject: Re: Nested here-docs p5p-msgid: <199701210053.AAA02139@crypt.compulink.co.uk>
* perl 5.000perl-5.000Larry Wall1994-10-171-1/+1
| | | | | | | | | | | [editor's note: this commit combines approximate 4 months of furious releases of Andy Dougherty and Larry Wall - see pod/perlhist.pod for details. Andy notes that; Alas neither my "Irwin AccuTrack" nor my DC 600A quarter-inch cartridge backup tapes from that era seem to be readable anymore. I guess 13 years exceeds the shelf life for that backup technology :-(. ]
* perl 5.0 alpha 2perl-5a2Larry Wall1993-10-071-7/+20
| | | | [editor's note: from history.perl.org. The sparc executables originally included in the distribution are not in this commit.]
* perl 4.0.00: (no release announcement available)perl-4.0.00Larry Wall1991-03-211-0/+78
So far, 4.0 is still a beta test version. For the last production version, look in pub/perl.3.0/kits@44.