Skip to content

Commit

Permalink
Support for Swift packages with spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
drekka committed Nov 15, 2016
1 parent be81d0a commit 02113be
Show file tree
Hide file tree
Showing 9 changed files with 510 additions and 26 deletions.
Binary file modified Logger-expression.parsergen
Binary file not shown.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Story Teller is an advanced logging framework that takes an entirely different a

See how it works on the main [Story Teller site](http://drekka.github.io/StoryTeller).

# v1.8.3

* Adding support for spaces in package names of swift classes.

# v1.8.2

* Patching to fix error triggered by multithreaded access to the current logging keys.
Expand Down
27 changes: 27 additions & 0 deletions STLogExpressionParser.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#import <PEGKit/PKParser.h>

enum {
STLOGEXPRESSIONPARSER_TOKEN_KIND_NE = 14,
STLOGEXPRESSIONPARSER_TOKEN_KIND_FALSE = 15,
STLOGEXPRESSIONPARSER_TOKEN_KIND_GE = 16,
STLOGEXPRESSIONPARSER_TOKEN_KIND_LOGROOT = 17,
STLOGEXPRESSIONPARSER_TOKEN_KIND_IS = 18,
STLOGEXPRESSIONPARSER_TOKEN_KIND_EQ = 19,
STLOGEXPRESSIONPARSER_TOKEN_KIND_LT_SYM = 20,
STLOGEXPRESSIONPARSER_TOKEN_KIND_OPEN_BRACKET = 21,
STLOGEXPRESSIONPARSER_TOKEN_KIND_TRUE = 22,
STLOGEXPRESSIONPARSER_TOKEN_KIND_NIL = 23,
STLOGEXPRESSIONPARSER_TOKEN_KIND_LOGALL = 24,
STLOGEXPRESSIONPARSER_TOKEN_KIND_DOT = 25,
STLOGEXPRESSIONPARSER_TOKEN_KIND_GT_SYM = 26,
STLOGEXPRESSIONPARSER_TOKEN_KIND_CLOSE_BRACKET = 27,
STLOGEXPRESSIONPARSER_TOKEN_KIND_LE = 28,
STLOGEXPRESSIONPARSER_TOKEN_KIND_YES_UPPER = 29,
STLOGEXPRESSIONPARSER_TOKEN_KIND_UNDERSCORE = 30,
STLOGEXPRESSIONPARSER_TOKEN_KIND_NO_UPPER = 31,
};

@interface STLogExpressionParser : PKParser

@end

Loading

0 comments on commit 02113be

Please sign in to comment.