diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-25 22:25:29 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-25 22:25:29 +0000 |
commit | 29797ba0fe84e314e51b994df04140c8621602dd (patch) | |
tree | 55df1b95e4025e3a1df3b698b9979dafaadd2c1c /Source/SPAppController.m | |
parent | 4faf9d57efd88123216f78b292886a5ee086e421 (diff) | |
download | sequelpro-29797ba0fe84e314e51b994df04140c8621602dd.tar.gz sequelpro-29797ba0fe84e314e51b994df04140c8621602dd.tar.bz2 sequelpro-29797ba0fe84e314e51b994df04140c8621602dd.zip |
Move the flex parsing function definitions to their own file so they're not duplicated in multiple places.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 6f9e6341..1dc84583 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -51,21 +51,11 @@ #import "SPBundleCommandRunner.h" #import "SPWindowManagement.h" #import "SPCopyTable.h" +#import "SPSyntaxParser.h" #import <PSMTabBar/PSMTabBarControl.h> #import <Sparkle/Sparkle.h> -#pragma mark Lex init - -/* -* Include all the extern variables and prototypes required for flex (used for syntax highlighting) -*/ -extern NSUInteger yylex(); -extern NSUInteger yyuoffset, yyuleng; -typedef struct yy_buffer_state *YY_BUFFER_STATE; -void yy_switch_to_buffer(YY_BUFFER_STATE); -YY_BUFFER_STATE yy_scan_string (const char *); - @interface SPAppController () - (void)_copyDefaultThemes; |