Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Automatically extract into SciTE doumentation.
|
|
|
|
|
|
- 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
|
|
|
|
a bareword or keyword followed by a '/'.
|
|
in numeric literals, and handles ^D and ^Z, subroutine prototypes, and
formats.
|
|
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
|
|
|
|
|
|
* check for & and not && for bareword disambiguation
* improved lexing for variables starting with '::'
|
|
|
|
|
|
numbers, special variables, and here documents.
|
|
comments and to correctly fold a pod after __END__.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- fixed / interpretation following -> style variables/objects
- fixed ->y type cases where lexer sees regex-type blocks
|
|
|
|
Fixed '/' interpretation following complex hash specifications.
Fixed inputsymbol specification.
|
|
|
|
- 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...
|
|
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.
|
|
- 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)
|
|
|
|
|
|
|
|
lexers.
|
|
linking.
|
|
|
|
File specific inline functions marker as static to ensure no bad linking.
|
|
Made it possible for LexerModule to be subclassed so that its Lex and
Fold methods can be specialised to work across DLL boundaries.
|
|
|
|
|
|
|
|
|
|
Further change from Neil to avoid whitespace being included in scalars.
|
|
|
|
|
|
Made some variables unsigned to avoid warnings.
|
|
|