From 23fc73733f8fdd30032c43d9d6caee1c2a5d7077 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 18 Apr 2013 17:29:39 -0700 Subject: [PATCH] Rename AsteriskMatcher to TrueMatcher --- src/app/text-mate-scope-selector-matchers.coffee | 4 ++-- src/app/text-mate-scope-selector-pattern.pegjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/text-mate-scope-selector-matchers.coffee b/src/app/text-mate-scope-selector-matchers.coffee index 166a4969e..1791215d4 100644 --- a/src/app/text-mate-scope-selector-matchers.coffee +++ b/src/app/text-mate-scope-selector-matchers.coffee @@ -5,7 +5,7 @@ class SegmentMatcher matches: (scope) -> scope is @segment -class AsteriskMatcher +class TrueMatcher constructor: -> matches: -> @@ -69,7 +69,7 @@ class CompositeMatcher module.exports = { AndMatcher - AsteriskMatcher + TrueMatcher CompositeMatcher NegateMatcher OrMatcher diff --git a/src/app/text-mate-scope-selector-pattern.pegjs b/src/app/text-mate-scope-selector-pattern.pegjs index e684949cd..7327cf876 100644 --- a/src/app/text-mate-scope-selector-pattern.pegjs +++ b/src/app/text-mate-scope-selector-pattern.pegjs @@ -12,7 +12,7 @@ segment } / _ scopeName:[\*] _ { - return new matchers.AsteriskMatcher(); + return new matchers.TrueMatcher(); } scope