File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
lib/node_modules/@stdlib/utils/dsv/base/parse/lib/states Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 16
16
* limitations under the License.
17
17
*/
18
18
19
- /* eslint-disable max-len, no-underscore-dangle */
19
+ /* eslint-disable no-underscore-dangle */
20
20
21
21
'use strict' ;
22
22
@@ -62,8 +62,13 @@ function processor( parser ) {
62
62
function next ( ch ) {
63
63
debug ( 'Char: %s' , ch ) ;
64
64
65
+ // FIXME: handle left whitespace trim
66
+
65
67
// Check for the end of the commented line...
66
- if ( ch === newline [ newlineLastIndex ] && parser . _scan ( newline , newlineLastIndex ) ) {
68
+ if (
69
+ ch === newline [ newlineLastIndex ] &&
70
+ parser . _scan ( newline , newlineLastIndex )
71
+ ) {
67
72
// Rewind the cursor to point to the last character before the newline character sequence:
68
73
debug ( 'Newline.' ) ;
69
74
parser . _rewind ( newlineLastIndex ) . _changeState ( INIT ) ;
You can’t perform that action at this time.
0 commit comments