| 2242 | } |
| 2243 | |
| 2244 | static int spacePop(xmlParserCtxtPtr ctxt) { |
| 2245 | int ret; |
| 2246 | if (ctxt->spaceNr <= 0) return(0); |
| 2247 | ctxt->spaceNr--; |
| 2248 | if (ctxt->spaceNr > 0) |
| 2249 | ctxt->space = &ctxt->spaceTab[ctxt->spaceNr - 1]; |
| 2250 | else |
| 2251 | ctxt->space = &ctxt->spaceTab[0]; |
| 2252 | ret = ctxt->spaceTab[ctxt->spaceNr]; |
| 2253 | ctxt->spaceTab[ctxt->spaceNr] = -1; |
| 2254 | return(ret); |
| 2255 | } |
| 2256 | |
| 2257 | /* |
| 2258 | * Macros for accessing the content. Those should be used only by the parser, |
no outgoing calls
no test coverage detected