Changeset 200 for pjproject/trunk
- Timestamp:
- Feb 19, 2006 3:36:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/xml.c
r194 r200 77 77 } 78 78 79 /* Handle comments construct (i.e. "<! --") */80 if (pj_scan_strcmp(scanner, "<! --", 4) == 0) {81 pj_scan_advance_n(scanner, 4, PJ_FALSE);79 /* Handle comments construct (i.e. "<!") */ 80 if (pj_scan_strcmp(scanner, "<!", 2) == 0) { 81 pj_scan_advance_n(scanner, 2, PJ_FALSE); 82 82 for (;;) { 83 83 pj_str_t dummy; 84 pj_scan_get_until_ch(scanner, ' -', &dummy);85 if (pj_scan_strcmp(scanner, " -->", 3) == 0) {86 pj_scan_advance_n(scanner, 3, PJ_TRUE);84 pj_scan_get_until_ch(scanner, '>', &dummy); 85 if (pj_scan_strcmp(scanner, ">", 1) == 0) { 86 pj_scan_advance_n(scanner, 1, PJ_TRUE); 87 87 break; 88 88 } else {
Note: See TracChangeset
for help on using the changeset viewer.