Changeset 196 for trunk/src


Ignore:
Timestamp:
Sep 22, 2008, 10:36:30 AM (11 years ago)
Author:
lindanl
Message:

Set text_or_markup_start in Parse_Prolog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r189 r196  
    21212121        ScanTo(NonWS);
    21222122        int old_pos = AbsPos();
    2123         while (!at_DOCTYPE_start<B::Base>(cur())) {
     2123        while (!at_DOCTYPE_start<B::Base>(cur())) {             
     2124                text_or_markup_start = AbsPos();
    21242125                if (at_Comment_Start<B::Base>(cur()))
    21252126                        Parse_Comment();
     
    21342135        Parse_DocType();
    21352136        ScanTo(NonWS);
    2136         while(at_Comment_Start<B::Base>(cur()) || at_PI_Start<B::Base>(cur()) ){
     2137        while(at_Comment_Start<B::Base>(cur()) || at_PI_Start<B::Base>(cur()) ){               
     2138                text_or_markup_start = AbsPos();
    21372139                if (at_Comment_Start<B::Base>(cur()))
    21382140                        Parse_Comment();
     
    26232625        }
    26242626#endif
    2625 #if (VALIDATION_MODE == OFF)   
     2627#if (VALIDATION_MODE == OFF)
    26262628        Parse_WF_Element();
    26272629        ScanTo(NonWS);
Note: See TracChangeset for help on using the changeset viewer.