diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-27 18:31:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-27 18:31:09 -0700 |
commit | 5ae5fd072b04c8c26fa284f074e28509e0d10438 (patch) | |
tree | 00fd016a100a4bb584a37441eb5de0049722a8d3 /src/intertyper.js | |
parent | 3d74fe365db4ea47b673925dffea9f2dedf6efc6 (diff) |
fix load fast path regexp
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 606a15a2..1acad4f2 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -1044,7 +1044,7 @@ function intertyper(lines, sidePass, baseLineNums) { break; } case 'load': { - if (m = /([%\w\d\._\-@\*]+) ([%\w\d\._\-@]+)(, align \d+)?$/.exec(args)) { + if (m = /(^[%\w\d\._\-@\*]+) ([%\w\d\._\-@]+)(, align \d+)?$/.exec(args)) { var ident = toNiceIdent(m[2]); var type = m[1]; assert(type[type.length-1] === '*', type); |