aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorTokens.l
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-05 19:38:19 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-05 19:38:19 +0000
commit5a1f162168e2228be7976842441080b3fc5d00e0 (patch)
tree37fefd2a07a2765a8dc34026dc6eca17d6a8cfb1 /Source/SPEditorTokens.l
parent4e522c9d05b4a173d36e4e88dfb42a836d778b79 (diff)
downloadsequelpro-5a1f162168e2228be7976842441080b3fc5d00e0.tar.gz
sequelpro-5a1f162168e2228be7976842441080b3fc5d00e0.tar.bz2
sequelpro-5a1f162168e2228be7976842441080b3fc5d00e0.zip
• tentative fix to suppress auto-uppercasing/syntax highlighting of table/field names if such a name begins with a SQL keyword followed by a non-ASCII letter like äöüéた etc.
Diffstat (limited to 'Source/SPEditorTokens.l')
-rw-r--r--Source/SPEditorTokens.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPEditorTokens.l b/Source/SPEditorTokens.l
index 08e84d7d..89730caf 100644
--- a/Source/SPEditorTokens.l
+++ b/Source/SPEditorTokens.l
@@ -26,8 +26,8 @@ int yyuoffset, yyuleng;
%option noyywrap
%option case-insensitive
s [ \t\n]+
-word [a-z_0-9]
-nonword [^a-z_0-9#\n\t]
+word [a-z_0-9À-゚]
+nonword [^a-z_0-9À-゚#\n\t]
%x comment
%%
\"([^"\\]|\\(.|\n))*\"? { return SPT_DOUBLE_QUOTED_TEXT; } /* double quoted strings */