»
« home   paste   Anonymous | Login | Signup for a new account 05-24-2019 07:09 CEST
 
* 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
0000094 [GeSHi] lang tweak have not tried 10-05-06 01:36 10-16-06 19:19
Reporter BenBE View Status public  
Assigned To Netocrat
Priority low Resolution fixed  
Status resolved   Product Version 1.1.2alpha3
Summary 0000094: stdprocs for C not highlighted within compiler defines
Description When you have something like

#define f(a) sprintf(a);

sprintf will not be highlighted as function although it should (IMHO).
Additional Information For examples have a look at anonymous.c of 2001's www.de.IOCCC.org winning sources. I know they are not best coding style, BUT valid C source AND therefore should get highlighted correctly. Maybe you also have a look at all those other winning sources there and add them into you test suite :P
Attached Files

- Relationships

- Notes
(0000464)
nigel
10-05-06 09:33

Netocrat will know more about this, including any reason for not highlighting them if there is one.
 
(0000465)
Netocrat
10-16-06 19:16

Agreed, that is a bug - the 4 character fix is in the commit of revision 1.17 of languages/c.php.
 

- Issue History
Date Modified Username Field Change
10-05-06 01:36 BenBE New Issue
10-05-06 01:36 BenBE Status new => assigned
10-05-06 01:36 BenBE Assigned To  => nigel
10-05-06 09:32 nigel Assigned To nigel => Netocrat
10-05-06 09:33 nigel Note Added: 0000464
10-16-06 19:16 Netocrat Note Added: 0000465
10-16-06 19:19 Netocrat Status assigned => resolved
10-16-06 19:19 Netocrat Resolution open => fixed

  


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