diff options
author | nyamatongwe <unknown> | 2003-10-20 21:13:41 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-10-20 21:13:41 +0000 |
commit | 40cb1566b65b3ee6b403ad6f442e2f617403cde7 (patch) | |
tree | 57ec9d65da63689ff47b037a5e1d007ac8a43de7 /src/LexAda.cxx | |
parent | 87644e62b90925fc4f6c01681ee842bd9f733266 (diff) | |
download | scintilla-mirror-40cb1566b65b3ee6b403ad6f442e2f617403cde7.tar.gz |
Fixes from Kein-Hong Man:
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.
Diffstat (limited to 'src/LexAda.cxx')
0 files changed, 0 insertions, 0 deletions