fix a couple of analyzer errors
diff --git a/lib/src/parser.dart b/lib/src/parser.dart
index d5ed87a..df6ed75 100644
--- a/lib/src/parser.dart
+++ b/lib/src/parser.dart
@@ -667,7 +667,7 @@
   Pair<VersionDirective, List<TagDirective>> _processDirectives() {
     var token = _scanner.peek();
 
-    var versionDirective;
+    VersionDirective versionDirective;
     var tagDirectives = <TagDirective>[];
     while (token.type == TokenType.VERSION_DIRECTIVE ||
            token.type == TokenType.TAG_DIRECTIVE) {
diff --git a/lib/src/scanner.dart b/lib/src/scanner.dart
index 15b0219..b1ae1e3 100644
--- a/lib/src/scanner.dart
+++ b/lib/src/scanner.dart
@@ -460,8 +460,6 @@
         _fetchPlainScalar();
         return;
     }
-
-    throw 'Inaccessible';
   }
 
   /// Throws an error about a disallowed character.