#419: Wrong processing with string
-----------------------+----------------------------------------------------
 Reporter:  lunatik    |        Owner:  dr.fred
     Type:  bug        |       Status:  closed 
 Priority:  highest    |    Milestone:  backlog
Component:  Parser: C  |      Version:         
 Severity:  normal     |   Resolution:  fixed  
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by lunatik):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 == Problem is resolved by new function on flex. ==
 [[BR]]
 \"                        yylval = skip_message(); return MESSAGE;[[BR]]
 %%[[BR]]
 string skip_message() {
     string ch;
     string str="\"";
     bool skip = false;
       for( ;;ch = yyinput() ) {
         str += ch;
         if ( ch == "\"" && skip == false ){
             return str;
         } else
             skip = false;
         if ( ch == "\\" )
             skip = true;
       }
 }[[BR]]

-- 
Ticket URL: <http://trac-hg.assembla.com/SourceAnalyzer/ticket/419#comment:4>
SourceAnalyzer <http://www.assembla.com/spaces/show/SourceAnalyzer>
Development of a tool to analyze the source code and to build call-graph

-- 
You received this message because you are subscribed to the Google Groups 
"SourceAnalyzer 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.com/group/sa_team?hl=en.

Reply via email to