diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 17:24:56 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 17:24:56 -0800 |
commit | 52cc5c714d852d39a8bfd652f331b4f9b76b2f36 (patch) | |
tree | 3a65f5adb9f661c0e3d9aa1cfb13d9fcce98d30c /src/intertyper.js | |
parent | ac5209f8f4bcceabd68e127b73996890715c596e (diff) |
fix alias precheck
Diffstat (limited to 'src/intertyper.js')
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index 35ad0e4c..7db1a2fe 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -73,7 +73,7 @@ function intertyper(data, sidePass, baseLineNums) { if (!testType) { var global = /([@%\w\d\.\" $-]+) = .*/.exec(line); var globalIdent = toNiceIdent(global[1]); - var testAlias = /[@%\w\d\.\" $-]+ = alias .*/.exec(line); + var testAlias = /[@%\w\d\.\" $-]+ = (hidden )?alias .*/.exec(line); Variables.globals[globalIdent] = { name: globalIdent, alias: !!testAlias, |