rename parser context types

This commit is contained in:
Sebastian McKenzie
2016-06-22 14:06:58 +01:00
parent 3524ad510f
commit cf6e0d365e
5 changed files with 22 additions and 22 deletions

View File

@@ -431,9 +431,9 @@ export default function(instance) {
if (this.match(tt.braceL)) {
let curContext = this.curContext();
if (curContext === tc.j_oTag) {
this.state.context.push(tc.b_expr);
this.state.context.push(tc.braceExpression);
} else if (curContext === tc.j_expr) {
this.state.context.push(tc.b_tmpl);
this.state.context.push(tc.templateQuasi);
} else {
inner.call(this, prevType);
}