Menu

Commit [r1922]  Maximize  Restore  History

Modified TTaggedTextLexer to emit only first of any sequence of white space characters. Any intervening tags are ignored for this purpose so that "x <em> y </em> x" is parsed as "x <em>y </em>x". A side effect is that a text token with an empty string can be returned.

Changed TREMLReader.Parse to ignore empty text tokens received from lexer: no active text element is generated for empty string.

delphidabbler 2012-06-18

changed /trunk/Src/UREMLDataIO.pas
changed /trunk/Src/UTaggedTextLexer.pas
/trunk/Src/UREMLDataIO.pas Diff Switch to side-by-side view
Loading...
/trunk/Src/UTaggedTextLexer.pas Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.