diff --git a/RegExpSupport/src/org/intellij/lang/regexp/_RegExLexer.java b/RegExpSupport/src/org/intellij/lang/regexp/_RegExLexer.java index 4381a383a338..aa038f4bca01 100644 --- a/RegExpSupport/src/org/intellij/lang/regexp/_RegExLexer.java +++ b/RegExpSupport/src/org/intellij/lang/regexp/_RegExLexer.java @@ -1,4 +1,4 @@ -/* The following code was generated by JFlex 1.4.3 on 21.02.11 20:37 */ +/* The following code was generated by JFlex 1.4.3 on 21.06.11 21:06 */ /* It's an automatically generated code. Do not modify it. */ package org.intellij.lang.regexp; @@ -15,8 +15,8 @@ import com.intellij.psi.StringEscapesTokenTypes; /** * This class is a scanner generated by * JFlex 1.4.3 - * on 21.02.11 20:37 from the specification file - * C:/JetBrains/IDEA/tools/lexer/../../community/RegExpSupport/src/org/intellij/lang/regexp/regexp-lexer.flex + * on 21.06.11 21:06 from the specification file + * C:/IDEA/tools/lexer/../../community/RegExpSupport/src/org/intellij/lang/regexp/regexp-lexer.flex */ class _RegExLexer implements FlexLexer { /** initial size of the lookahead buffer */ @@ -212,47 +212,47 @@ class _RegExLexer implements FlexLexer { "\3\16\1\17\1\20\1\21\1\22\1\16\1\23\1\16"+ "\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\33"+ "\21\16\1\34\1\16\1\35\4\16\1\25\5\16\1\36"+ - "\1\16\1\25\12\16\1\37\1\0\47\16\1\40\2\41"+ - "\4\40\1\42\12\40\20\43\1\41\1\40\1\43\2\40"+ - "\1\41\1\44\12\40\11\45\1\46\1\45\1\0\62\45"+ - "\1\0\1\47\46\45\6\16\1\22\1\16\1\50\1\51"+ - "\1\52\1\53\1\26\26\16\1\34\5\16\1\54\1\53"+ - "\7\16\1\53\6\55\1\56\1\55\1\57\1\55\1\24"+ - "\50\55\5\60\1\61\14\60\20\62\1\60\1\63\1\62"+ - "\6\60\1\64\7\60\13\11\1\65\46\11\1\65\22\60"+ - "\20\43\2\60\1\43\7\60\1\66\30\60\20\43\2\60"+ - "\1\43\14\60\1\67\6\60\1\61\14\60\20\43\2\60"+ - "\1\43\17\60\2\41\2\60\1\61\14\60\20\43\1\41"+ - "\1\60\1\43\2\60\1\41\13\60\101\0\1\70\55\0"+ - "\1\71\2\0\1\72\46\0\1\73\1\74\1\75\4\76"+ - "\1\73\1\76\1\73\1\76\1\77\6\76\2\100\2\101"+ - "\2\102\1\103\1\104\1\103\2\105\1\106\1\107\1\106"+ - "\1\110\1\111\1\112\1\76\1\106\1\77\4\73\1\77"+ - "\7\73\1\77\37\0\1\113\24\0\2\41\37\0\1\41"+ - "\4\0\1\41\14\0\2\43\17\0\21\43\1\0\1\43"+ - "\1\0\2\43\24\0\1\114\2\0\1\72\46\0\1\73"+ - "\1\74\1\75\4\76\1\73\1\76\1\115\1\76\1\77"+ - "\6\76\2\100\2\101\2\102\1\103\1\104\1\103\2\105"+ - "\1\106\1\107\1\106\1\110\1\111\1\112\1\76\1\106"+ - "\1\77\4\73\1\77\7\73\1\77\51\0\1\116\33\0"+ - "\20\62\2\0\1\62\40\0\20\63\2\0\1\63\22\0"+ - "\1\117\27\0\1\120\16\0\2\121\1\122\1\123\1\124"+ - "\1\125\1\126\12\0\1\127\52\0\2\74\37\0\1\74"+ - "\22\0\1\130\37\0\1\130\20\0\63\131\1\132\2\133"+ - "\20\132\2\133\2\132\3\133\3\132\1\133\1\132\1\133"+ - "\2\132\1\133\20\132\1\134\2\135\20\134\2\135\2\134"+ - "\3\135\3\134\1\135\1\134\1\135\2\134\1\135\20\134"+ - "\1\0\1\74\1\136\37\0\1\136\75\0\1\137\1\0"+ - "\1\140\60\0\1\141\1\142\4\0\5\143\1\0\55\143"+ - "\2\0\1\144\37\0\1\144\20\0\64\145\2\146\20\145"+ - "\2\146\2\145\3\146\3\145\1\146\1\145\1\146\2\145"+ - "\1\146\20\145\64\147\2\150\20\147\2\150\2\147\3\150"+ - "\3\147\1\150\1\147\1\150\2\147\1\150\20\147\1\0"+ - "\1\74\1\151\37\0\1\151\20\0\5\143\1\152\55\143"+ - "\2\0\1\153\37\0\1\153\20\0\64\154\2\155\20\154"+ - "\2\155\2\154\3\155\3\154\1\155\1\154\1\155\2\154"+ - "\1\155\20\154\64\156\2\157\20\156\2\157\2\156\3\157"+ - "\3\156\1\157\1\156\1\157\2\156\1\157\20\156"; + "\1\16\1\25\12\16\1\37\50\16\1\40\2\41\4\40"+ + "\1\42\12\40\20\43\1\41\1\40\1\43\2\40\1\41"+ + "\1\44\12\40\11\45\1\46\1\45\1\0\62\45\1\0"+ + "\1\47\46\45\6\16\1\22\1\16\1\50\1\51\1\52"+ + "\1\53\1\26\26\16\1\34\5\16\1\54\1\53\7\16"+ + "\1\53\6\55\1\56\1\55\1\57\1\55\1\24\50\55"+ + "\5\60\1\61\14\60\20\62\1\60\1\63\1\62\6\60"+ + "\1\64\7\60\13\11\1\65\46\11\1\65\22\60\20\43"+ + "\2\60\1\43\7\60\1\66\30\60\20\43\2\60\1\43"+ + "\14\60\1\67\6\60\1\61\14\60\20\43\2\60\1\43"+ + "\17\60\2\41\2\60\1\61\14\60\20\43\1\41\1\60"+ + "\1\43\2\60\1\41\13\60\101\0\1\70\55\0\1\71"+ + "\2\0\1\72\46\0\1\73\1\74\1\75\4\76\1\73"+ + "\1\76\1\73\1\76\1\77\6\76\2\100\2\101\2\102"+ + "\1\103\1\104\1\103\2\105\1\106\1\107\1\106\1\110"+ + "\1\111\1\112\1\76\1\106\1\77\4\73\1\77\7\73"+ + "\1\77\37\0\1\113\24\0\2\41\37\0\1\41\4\0"+ + "\1\41\14\0\2\43\17\0\21\43\1\0\1\43\1\0"+ + "\2\43\24\0\1\114\2\0\1\72\46\0\1\73\1\74"+ + "\1\75\4\76\1\73\1\76\1\115\1\76\1\77\6\76"+ + "\2\100\2\101\2\102\1\103\1\104\1\103\2\105\1\106"+ + "\1\107\1\106\1\110\1\111\1\112\1\76\1\106\1\77"+ + "\4\73\1\77\7\73\1\77\51\0\1\116\33\0\20\62"+ + "\2\0\1\62\40\0\20\63\2\0\1\63\22\0\1\117"+ + "\27\0\1\120\16\0\2\121\1\122\1\123\1\124\1\125"+ + "\1\126\12\0\1\127\52\0\2\74\37\0\1\74\22\0"+ + "\1\130\37\0\1\130\20\0\63\131\1\132\2\133\20\132"+ + "\2\133\2\132\3\133\3\132\1\133\1\132\1\133\2\132"+ + "\1\133\20\132\1\134\2\135\20\134\2\135\2\134\3\135"+ + "\3\134\1\135\1\134\1\135\2\134\1\135\20\134\1\0"+ + "\1\74\1\136\37\0\1\136\75\0\1\137\1\0\1\140"+ + "\60\0\1\141\1\142\4\0\5\143\1\0\55\143\2\0"+ + "\1\144\37\0\1\144\20\0\64\145\2\146\20\145\2\146"+ + "\2\145\3\146\3\145\1\146\1\145\1\146\2\145\1\146"+ + "\20\145\64\147\2\150\20\147\2\150\2\147\3\150\3\147"+ + "\1\150\1\147\1\150\2\147\1\150\20\147\1\0\1\74"+ + "\1\151\37\0\1\151\20\0\5\143\1\152\55\143\2\0"+ + "\1\153\37\0\1\153\20\0\64\154\2\155\20\154\2\155"+ + "\2\154\3\155\3\154\1\155\1\154\1\155\2\154\1\155"+ + "\20\154\64\156\2\157\20\156\2\157\2\156\3\157\3\156"+ + "\1\157\1\156\1\157\2\156\1\157\20\156"; private static int [] zzUnpackTrans() { int [] result = new int[2448]; diff --git a/RegExpSupport/src/org/intellij/lang/regexp/regexp-lexer.flex b/RegExpSupport/src/org/intellij/lang/regexp/regexp-lexer.flex index e42ae56cdef0..2dc4f76afa46 100644 --- a/RegExpSupport/src/org/intellij/lang/regexp/regexp-lexer.flex +++ b/RegExpSupport/src/org/intellij/lang/regexp/regexp-lexer.flex @@ -107,7 +107,7 @@ HEX_CHAR=[0-9a-fA-F] { "\\E" { yypopstate(); return RegExpTT.QUOTE_END; } - . { return RegExpTT.CHARACTER; } + {ANY} { return RegExpTT.CHARACTER; } } /* \\ */