No more "version" keyword, new syntax is "package foo.bar.baz@3.4;"
diff --git a/AST.h b/AST.h
index 167d5dd..227d80c 100644
--- a/AST.h
+++ b/AST.h
@@ -6,6 +6,8 @@
#include <string>
#include <utils/Vector.h>
+#include "FQName.h"
+
namespace android {
struct Formatter;
@@ -18,7 +20,6 @@
static AST *Parse(const char *path);
- void setVersion(const char *major, const char *minor);
bool setPackage(const char *package);
bool addImport(const char *import);
@@ -39,8 +40,7 @@
void *mScanner;
Scope *mRootScope;
- std::string mVersion;
- std::string mPackage;
+ FQName mPackage;
DISALLOW_COPY_AND_ASSIGN(AST);
};