Skip to content

Commit

Permalink
Fixed precedence of *> operator in Parsimonious
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolucent committed Mar 21, 2016
1 parent e4cda67 commit c80ed30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

SOFTWARE.
5 changes: 3 additions & 2 deletions Parsimonious/Operators.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import Swift

infix operator <* {
associativity right
Expand All @@ -15,12 +16,12 @@ infix operator <* {

infix operator *> {
associativity left
precedence 50
precedence 100
}

infix operator ! {
associativity left
precedence 50
precedence 100
}

postfix operator * {}
Expand Down

0 comments on commit c80ed30

Please sign in to comment.