Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code to allow comments #1

Open
chelvisgit opened this issue May 24, 2019 · 0 comments
Open

Code to allow comments #1

chelvisgit opened this issue May 24, 2019 · 0 comments

Comments

@chelvisgit
Copy link

chelvisgit commented May 24, 2019

Hello, in order to allow commentaries parsing I have added the following lines after ln 270:

271: else
272: if( S[ 1 ] == '!' ) {
273: if( !xt_skip_until( &S, WHITESPACE "/>" ) )
274: goto fnq;
275: }

With this change the parser can parse the following XML without problems:

<object class="GtkTreeStore" id="treestore1"> <columns> <!-- column-name name1 --> <column type="name"/> <!-- column-name string1 --> <column type="string"/> </columns> </object>
Thanks again for this parser!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant