aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPerl.cxx
AgeCommit message (Collapse)AuthorFilesLines
2004-05-17Patch from Kein-Hong Man to improve handling of '/'.nyamatongwe1-3/+8
2004-04-05Patch from Kein-Hong Man:nyamatongwe1-6/+54
- fixed / interpretation following -> style variables/objects - fixed ->y type cases where lexer sees regex-type blocks
2004-02-25Patch from Kein-Hong Man to fix bug 901008.nyamatongwe1-1/+3
2004-01-16Fixes from Kein-Hong Man for:nyamatongwe1-7/+45
Fixed '/' interpretation following complex hash specifications. Fixed inputsymbol specification.
2003-10-27Hang fixed when '/' is first character in file.nyamatongwe1-1/+1
2003-10-23Kein-Hong Mannyamatongwe1-6/+14
- Added recognition for numbers with underscores. (More cute Perl syntax...) - Added _ as non-symbol when trying to recognise quoted pairs in cases like "s_identifier". - Added test notes on ' and :: operators possible confusion with quoted pair syntax. ' is okay, :: has ambiguous cases but such cases ought to be rare. No need to fix unless someone actually writes this kind of code...
2003-10-20Fixes from Kein-Hong Man:nyamatongwe1-58/+106
Changed vs last contribution (not sure about CVS HEAD because the last time I checked viewCVS the LexPerl.cxx file looked a little strange...): - HEREDOC removed test for '\' immediately after << - HEREDOC added test for '$' and '@' imm. after << Perl parses these cases as left shift expressions. - Improve lexing for repetition sequences like 3x3 - Removed unused sooked* variables. - Clean up ColourTo calls, removed two redundants. Removed one or two other bits of redundant code. - Cut +1400 bytes from object code size by changing char Delimiter[256] to a pointer and an allocated array; limit all local vars on ColourisePerlDoc() to within 8 bits of EBP, so generated code saves 3 bytes each for most local variable access by using 8-bit EBP displacements (avoiding 32 bit disps.) - Revised preferRE behaviour (a full list has been prepared in the test case file, with tests.) - Removed preferRE state consistency problems by using explicit backpeeking for all slash chars. Little backpeeking is actually needed. Unless the Perl code is really bizzare, there shouldn't be any performance issues. - Added extra backtrack testing for {} brace pairs to detect hash variables, for better slash state interpretation. This also fixes an old SF bug, which can be closed.
2003-10-17Patch from Kein-Hong Man to fix:nyamatongwe1-89/+183
- fixed * multiply, ** exponent op conflict with symbol table op - added <<= left shift assignment case - added x and x= repetition operator classification - added :: module operator recognition for variables - separated SCE_PL_WORD|SCE_PL_IDENTIFIER and SCE_PL_NUMBER lexing - added backtracking for multi-line ",' and ` strings - added number lexing with basic hex,bin,octal,float recognition - added Unicode vector string lexing - added special cases for $`` and @+ - removed duplicate SCE_PL_DEFAULT section by restarting lexing (for consistent multi-char or special starting cases)
2003-10-12Perl here documents fixed by Kein-Hong Man.nyamatongwe1-18/+34
2003-02-17Upgraded keyword list descriptions from Brian Quinlan.nyamatongwe1-1/+1
2002-10-21Folder added for Perl by Martin Steffensen.nyamatongwe1-1/+56
2002-04-03Patch from Brian Quinlan to include metdata about keyword lists withinnyamatongwe1-1/+6
lexers.
2002-02-12Made LexerModule objects not be const again as that was impairing staticnyamatongwe1-1/+1
linking.
2002-02-12Minor fixes to lexers.nyamatongwe1-1/+1
2002-02-12Made lexer objects const so they do not show up in map as static / globals.nyamatongwe1-1/+1
File specific inline functions marker as static to ensure no bad linking.
2001-04-13Added a string name to each lexer.nyamatongwe1-1/+1
Made it possible for LexerModule to be subclassed so that its Lex and Fold methods can be specialised to work across DLL boundaries.
2001-02-27Patch from Philippe to regularise comments.nyamatongwe1-1/+1
2001-02-24Updated documentation comments from Philippe.nyamatongwe1-1/+3
2001-01-28Updating copyright notices for 2001.nyamatongwe1-1/+1
2001-01-27Patch from Eric to prefer REs after ';'.nyamatongwe1-1/+5
2001-01-25Patch from Steffen to handle $^W and ${"x"} as scalars.nyamatongwe1-1/+8
Further change from Neil to avoid whitespace being included in scalars.
2001-01-25Patch from Steffen to make .. as in for ( 1..9 ) work.nyamatongwe1-1/+4
2001-01-24Changed isspace to isspacechar which is safe for characters >= 128.nyamatongwe1-5/+5
2001-01-24Made special scalars like $( and $_ work.nyamatongwe1-13/+9
Made some variables unsigned to avoid warnings.
2001-01-24Patch from Steffen for y (transliteration) operator.nyamatongwe1-0/+3
2001-01-19Removed dead code that was commented out in last change.nyamatongwe1-23/+0
2001-01-19Patch from Steffen to handle single character words better and generallynyamatongwe1-3/+10
improve handling of words.
2001-01-18Patch from Steffen to simplify handling of quoted strings by reusing thenyamatongwe1-36/+17
code developed for the complex strings.
2001-01-10Patch from Steffen to clean up quote handling in a class.nyamatongwe1-78/+71
2001-01-06Patch from Steffen to separate long quote into qq, qz, qr, and qw states.nyamatongwe1-5/+20
2001-01-05Patch from Eric to fix bug in file ops.nyamatongwe1-1/+1
2001-01-04Patch from Eric Promislow to treat file test operators like keywords.nyamatongwe1-33/+52
2000-12-19Perl updated.nyamatongwe1-9/+16
If property line has no '=' it is treated as '=1'.
2000-12-14Patch from Steffen for quotes in SCE_PL_LONGQUOTE.nyamatongwe1-0/+4
2000-12-07Steffen removed SCE_PL_REF state.nyamatongwe1-5/+0
2000-12-07Fix from ActiveState for PODs at start of document.nyamatongwe1-17/+18
2000-12-01Patch from Steffen for treating % as an operator more often.nyamatongwe1-4/+6
2000-11-21Steffen's patch for here documents.nyamatongwe1-32/+160
2000-11-08Patch from Steffen for regex.nyamatongwe1-4/+14
2000-09-04Small tweak from Steffen.nyamatongwe1-2/+3
2000-08-31Added some fixes from Steffen to keep ch and chNext synchronised.nyamatongwe1-3/+3
2000-08-25Patches from Eric Prmislow and Steffen Goeldner to fix up here docsnyamatongwe1-5/+32
some quoting and pos handling.
2000-05-15Mod for here documents from Steffen Goeldner.nyamatongwe1-3/+5
2000-04-23Ensured lexers do not style any more than they have been asked to.nyamatongwe1-1/+1
2000-04-07Changing code to ensure no warnings are produced by compilers.nyamatongwe1-10/+0
2000-04-05Changed the lexer module objects to be globally visible (by removing 'static')nyamatongwe1-1/+1
so they can be explicitly referenced to force inclusion in a build.
2000-04-04Avoid lots of warnings from Borland C++.nyamatongwe1-3/+3
Changed name of interface class defined in Accessor.h to Accessor.
2000-04-04Split a Document based Accessor (DocumentAccessor) off fromnyamatongwe1-3/+3
the old accessor which is now called WindowAccessor. Accessor.h defines a common interface which is the type consumed by the lexers.
2000-03-16Split up KeyWords.cxx into 7 individual lexer files Lex*.cxx.nyamatongwe1-0/+488
Fixed setting up of second view to get right document length. Changed Python lexer to handle empty lines immediately after fold line and last line of document.