* xmlAutomataNewState: * @am: an automata * * Create a new disconnected state in the automata * * Returns the new state or NULL in case of error */
| 6147 | * Returns the new state or NULL in case of error |
| 6148 | */ |
| 6149 | xmlAutomataStatePtr |
| 6150 | xmlAutomataNewState(xmlAutomataPtr am) { |
| 6151 | if (am == NULL) |
| 6152 | return(NULL); |
| 6153 | return(xmlRegStatePush(am)); |
| 6154 | } |
| 6155 | |
| 6156 | /** |
| 6157 | * xmlAutomataNewEpsilon: |