View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011010KWStylepublic2010-07-19 08:292010-07-19 08:29
ReporterBrad Davis 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Summary0011010: Translate strings and comments to blank characters before checks
DescriptionThere are many instances where a buffer search either:
1) does not check to see if the find was in a quoted string (but should)
or
2) does check with a large overhead (order # quoted strings squared)

This leads to bugs and inefficient code.

Currently comments are removed from the buffer before processing, a similar strategy should apply to strings.

However, instead of removing comments and strings, comment and string characters should be replaced with something like SPACE or '_' or something like that.

That way we can simplify by not having to contend with mapping buffer position between Buffer and BufferNoComments.

TagsNo tags attached.
Attached Files

 Relationships
related to 0011003new KWStyle gets confused when braces are in char literals 

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2010-07-19 08:29 Brad Davis New Issue
2010-07-19 08:30 Brad Davis Relationship added related to 0011003


Copyright © 2000 - 2018 MantisBT Team