aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPerl.cxx
AgeCommit message (Collapse)AuthorFilesLines
2009-07-01Patch from Kein-Hong Man for bug #2809168.nyamatongwe1-0/+2
2009-04-12Using comments in lexer code to document meaning of properties.nyamatongwe1-0/+7
Automatically extract into SciTE doumentation.
2009-03-02Bug #2648342 Bug in LexPerl string comparison fixed.nyamatongwe1-2/+3
2008-12-23Fixes for GCC 4.3 warnings. The Pascal change fixes behaviour.nyamatongwe1-1/+1
2008-10-05Updated lexer from Kein-Hong Man FR #2115871.nyamatongwe1-1097/+1000
- fixed HERE doc delimiters that start with a backslash - better disambiguation of * operator vs typeglob - recognition of *-referenced forms of special variables - fixed styling of '-x' style barewords in hash keys - improved '-bareword' lexing - minimized style transitions for POD segments - more promiscuous 2-part quote-like operator lexing - better disambiguation of <inputsymbol>, allows spaces - better disambiguation of % operator vs hashes - fixed disambiguation after ++ or -- unary operators - improved POD regular/verbatim styling - added missing styling for special hash vars %+, %- - fixed styling of &'foo-style archaic call
2008-01-15Patch from Kein-Hong Man for // operator.nyamatongwe1-4/+11
2007-07-15Update from KHMan to improve format identifier lexing and disambiguatenyamatongwe1-18/+44
a bareword or keyword followed by a '/'.
2007-07-14Changes from Kein-Hong Man supports fixes bareword issues and underscoresnyamatongwe1-37/+136
in numeric literals, and handles ^D and ^Z, subroutine prototypes, and formats.
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+4
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2006-08-12Made some of the calls to ctype functions safer by checking isascii first.nyamatongwe1-21/+18
2006-08-12Identifiers allowed to contain UTF-8.nyamatongwe1-15/+26
2006-08-11Patch from Kein-Hong Man :nyamatongwe1-3/+19
* check for & and not && for bareword disambiguation * improved lexing for variables starting with '::'
2005-07-12Patch from Kein-Hong Man improves performance.nyamatongwe1-86/+113
2005-07-08Patch from Kein-Hong Man to disambiguate bareword and keywords.nyamatongwe1-50/+60
2005-07-03A set of patches from Kein-Hong Man to improve handling of barewords,nyamatongwe1-144/+274
numbers, special variables, and here documents.
2005-06-30Patch from Kein-Hong Man fixes folding lines starting with '#' that are notnyamatongwe1-77/+81
comments and to correctly fold a pod after __END__.
2005-06-10Patch from Kein-Hong Man improves folding.nyamatongwe1-27/+49
2005-06-09Avoid uninitialised fields warnings from GCC 4.nyamatongwe1-0/+2
2005-06-04Addition of SCE_PL_POD_VERB by Kein-Hong Man.nyamatongwe1-12/+23
2005-06-02Fixed indentation.nyamatongwe1-9/+9
2005-06-02Modification by Kein-Hong Man for folding pod headings.nyamatongwe1-1/+10
2005-05-02Folding of POD and package sections.nyamatongwe1-0/+32
2005-04-28Patch from Kein-Hong Man fixes bug 1189928 for globbing syntax.nyamatongwe1-2/+6
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.