Skip to content

Commit

Permalink
bug-fix: identifier expression of 'augment' in 'uses' (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcshox authored and sekur committed Jan 20, 2017
1 parent 26c92d0 commit c3e09bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lang/extensions.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module.exports = [
throw @error "'#{@tag}' must be absolute-schema-path to augment within module statement"
@locate @tag
when 'uses'
if /^\//.test @tag
unless /^[_0-9a-zA-Z]/.test @tag
throw @error "'#{@tag}' must be relative-schema-path to augment within uses statement"
@parent.state.grouping.locate @tag
unless target?
Expand Down

0 comments on commit c3e09bf

Please sign in to comment.