»
« home   paste   Anonymous | Login | Signup for a new account 11-17-2017 18:17 CET
 
* X »
«
GeSHi - Generic Syntax Highlighter Syntax Coloriser for PHP
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000020 [GeSHi] core feature always 11-03-05 15:15 02-18-06 11:52
Reporter nigel View Status public  
Assigned To nigel
Priority normal Resolution fixed  
Status closed   Product Version 1.1.1alpha2
Summary 0000020: Support single-length char strings
Description Some languages (like java and vhdl) have chars that go in strings delimited by ' and that are one character long. These need special support.
Additional Information The support will have to take into account:

1) The 0 length char
2) The character might be escaped

This should be easy enough to do: just extend GeSHiStringContext or GeSHiContext as appropriate and modify getContextEndData.

This is especially needed for VHDL and OCAML, who have char strings, but also use ' in other cases (like array indices).
Attached Files

- Relationships

- Notes
(0000050)
nigel
11-03-05 15:16

VHDL reference: http://www.acc-eda.com/vhdlref/ [^]
 
(0000068)
nigel
11-26-05 16:30

Preliminary support is available, and is being used by VHDL. There are still a couple of possible bugs that might need sorting out.
 
(0000224)
nigel
01-02-06 19:29

Marking as fixed. I can't see any more problems with this, other than the (sensible) assumption that the delimiters should be one character long. If there are problems then I'll re-open it.
 
(0000338)
nigel
02-18-06 11:52

Issue closed.
 

- Issue History
Date Modified Username Field Change
11-03-05 15:15 nigel New Issue
11-03-05 15:15 nigel Status new => assigned
11-03-05 15:15 nigel Assigned To  => nigel
11-03-05 15:16 nigel Note Added: 0000050
11-26-05 16:30 nigel Note Added: 0000068
01-02-06 19:29 nigel Note Added: 0000224
01-02-06 19:30 nigel Status assigned => resolved
01-02-06 19:30 nigel Resolution open => fixed
01-02-06 19:30 nigel Fixed in Version  => 1.1.1alpha4
02-18-06 11:52 nigel Status resolved => closed
02-18-06 11:52 nigel Note Added: 0000338

  


Mantis 1.0.0rc2[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker