aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index f60c0cc1..8dd6dccf 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -2560,6 +2560,7 @@ function deParen(text) {
function addVariable(ident, type, funcData) {
funcData = funcData || Framework.currItem.funcData;
+ assert(type);
funcData.variables[ident] = {
ident: ident,
type: type,
@@ -2569,7 +2570,7 @@ function addVariable(ident, type, funcData) {
hasValueTaken: false,
pointingLevels: 0,
uses: 0,
- impl: "native"
+ impl: VAR_EMULATED
};
}