File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/nu/validator/htmlparser/impl Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1401,6 +1401,9 @@ protected void startErrorReporting() throws SAXException {
1401
1401
public void start () throws SAXException {
1402
1402
initializeWithoutStarting ();
1403
1403
tokenHandler .startTokenization (this );
1404
+ // CPPONLY: line = 0;
1405
+ // CPPONLY: col = 1;
1406
+ // CPPONLY: nextCharOnNewLine = true;
1404
1407
// [NOCPP[
1405
1408
startErrorReporting ();
1406
1409
// ]NOCPP]
@@ -6339,6 +6342,8 @@ private void initDoctypeFields() {
6339
6342
appendStrBuf ('\n' );
6340
6343
}
6341
6344
6345
+ // [NOCPP[
6346
+
6342
6347
@ Inline protected void silentCarriageReturn () {
6343
6348
++line ;
6344
6349
lastCR = true ;
@@ -6348,6 +6353,8 @@ private void initDoctypeFields() {
6348
6353
++line ;
6349
6354
}
6350
6355
6356
+ // ]NOCPP]
6357
+
6351
6358
private void emitCarriageReturn (@ NoLength char [] buf , int pos )
6352
6359
throws SAXException {
6353
6360
silentCarriageReturn ();
@@ -7165,11 +7172,15 @@ private void suspendIfRequestedAfterCurrentNonTextToken() {
7165
7172
return suspendAfterCurrentNonTextToken ;
7166
7173
}
7167
7174
7175
+ // [NOCPP[
7176
+
7168
7177
@ Inline protected char checkChar (@ NoLength char [] buf , int pos )
7169
7178
throws SAXException {
7170
7179
return buf [pos ];
7171
7180
}
7172
7181
7182
+ // ]NOCPP]
7183
+
7173
7184
public boolean internalEncodingDeclaration (String internalCharset )
7174
7185
throws SAXException {
7175
7186
if (encodingDeclarationHandler != null ) {
You can’t perform that action at this time.
0 commit comments