aboutsummaryrefslogtreecommitdiff
path: root/src/intertyper.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-27 17:24:56 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-27 17:24:56 -0800
commit52cc5c714d852d39a8bfd652f331b4f9b76b2f36 (patch)
tree3a65f5adb9f661c0e3d9aa1cfb13d9fcce98d30c /src/intertyper.js
parentac5209f8f4bcceabd68e127b73996890715c596e (diff)
fix alias precheck
Diffstat (limited to 'src/intertyper.js')
-rw-r--r--src/intertyper.js2
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,