Skip to content

Commit

Permalink
correct a straggling newPattern()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Hykin committed Aug 8, 2019
1 parent 74c2c0e commit 8aff2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/languages/cpp/generate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def generateBlockFinder( name:"", tag_as:"", start_pattern:nil, needs_semicolon:
grammar[:qualifiers_and_specifiers_post_parameters] = Pattern.new(
std_space.then(
tag_as: "storage.modifier.specifier.functional.post-parameters.$match",
match: newPattern(
match: Pattern.new(
variableBounds[ @cpp_tokens.that(:canAppearAfterParametersBeforeBody) ].lookAheadFor(
/\s*/.then(
/\{/.or(/;/).or(/[\n\r]/)
Expand Down

0 comments on commit 8aff2af

Please sign in to comment.