#236: Incorrect handle of preprocessor comment "#line"
----------------------+-----------------------------------------------------
 Reporter:  dr.fred   |       Owner:  dr.fred    
     Type:  task      |      Status:  new        
 Priority:  highest   |   Milestone:  Version 2.0
Component:  Main app  |    Severity:  blocker    
 Keywords:            |  
----------------------+-----------------------------------------------------
 #line comment resets some stuff in parser.

 Case:
 {{{
 int func_1( char* param ) {

 #line 100 "file2.c"

 }

 void another_func( float another_param ) {
     some_call();
 }

 }}}

 Case output after parsing and transformation to the text:
 {{{
 func_1
 Definitions:
 Implementations:
         ../token_after_line.c:1: int (char * param)
         file2.c:103: void (char * param)
 Children:
 Parents:
 
--------------------------------------------------------------------------------
 }}}

-- 
Ticket URL: <http://trac-hg.assembla.com/SourceAnalyzer/ticket/236>
SourceAnalyzer <http://www.assembla.com/spaces/show/SourceAnalyzer>
Development of a tool for analyze the source code and to build call-graph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SA_team" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ru/group/sa_team?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to