diff --git a/lib/registrar.js b/lib/registrar.js index cce5fbef..38e25783 100644 --- a/lib/registrar.js +++ b/lib/registrar.js @@ -115,8 +115,8 @@ class Registrar { // which contains an open curly brace. Skip ahead... if (expression.modifiers && expression.modifiers.length){ for (let modifier of expression.modifiers ){ - if (modifier.range[1] > start){ - start = modifier.range[1]; + if (modifier.range[1]+1 > start){ + start = modifier.range[1]+1; } } } else {