commit | 5954f71fbf0895bcbcd854ca64863e30ecbf5de5 | [log] [tgz] |
---|---|---|
author | Nico <nicorodsevich@gmail.com> | Tue Jan 29 12:30:39 2019 -0300 |
committer | GitHub <noreply@github.com> | Tue Jan 29 12:30:39 2019 -0300 |
tree | 3d099edaae9a012a83cb40cd10f2d22e5b9e37af | |
parent | 5e81b12215566dbe2473b2afd01a8a8aedd56ad9 [diff] |
Fixes #42
diff --git a/lib/src/template_exception.dart b/lib/src/template_exception.dart index 94db0a9..c1b24ce 100644 --- a/lib/src/template_exception.dart +++ b/lib/src/template_exception.dart
@@ -51,7 +51,7 @@ // Find line and character column. int lineNum = 1; int lineStart = 0; - bool lastWasCR; + bool lastWasCR = false; for (int i = 0; i < offset; i++) { int char = source.codeUnitAt(i); if (char == 0x0a) {