diff --git a/plugins/properties/properties-psi-api/src/com/intellij/lang/properties/parsing/_PropertiesLexer.java b/plugins/properties/properties-psi-api/gen/com/intellij/lang/properties/parsing/_PropertiesLexer.java similarity index 91% rename from plugins/properties/properties-psi-api/src/com/intellij/lang/properties/parsing/_PropertiesLexer.java rename to plugins/properties/properties-psi-api/gen/com/intellij/lang/properties/parsing/_PropertiesLexer.java index 64f8f3e3f1dc..c04f96603bfc 100644 --- a/plugins/properties/properties-psi-api/src/com/intellij/lang/properties/parsing/_PropertiesLexer.java +++ b/plugins/properties/properties-psi-api/gen/com/intellij/lang/properties/parsing/_PropertiesLexer.java @@ -1,20 +1,4 @@ -/* - * Copyright 2000-2009 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* The following code was generated by JFlex 1.4.1 on 12/21/06 4:04 PM */ +/* The following code was generated by JFlex 1.4.3 on 4/25/14 7:38 PM */ package com.intellij.lang.properties.parsing; @@ -24,9 +8,9 @@ import com.intellij.psi.tree.IElementType; /** * This class is a scanner generated by - * JFlex 1.4.1 - * on 12/21/06 4:04 PM from the specification file - * C:/work/Irida/tools/lexer/../../source/com/intellij/lang/properties/parsing/Properties.flex + * JFlex 1.4.3 + * on 4/25/14 7:38 PM from the specification file + * /Users/ignatov/src/ultimate/tools/lexer/../../community/plugins/properties/src/com/intellij/lang/properties/parsing/Properties.flex */ class _PropertiesLexer implements FlexLexer { /** initial size of the lookahead buffer */ @@ -34,8 +18,18 @@ class _PropertiesLexer implements FlexLexer { /** lexical states */ public static final int YYINITIAL = 0; - public static final int IN_VALUE = 1; - public static final int IN_KEY_VALUE_SEPARATOR = 2; + public static final int IN_VALUE = 2; + public static final int IN_KEY_VALUE_SEPARATOR = 4; + + /** + * ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l + * ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l + * at the beginning of a line + * l is of the form l = 2*k, k a non negative integer + */ + private static final int ZZ_LEXSTATE[] = { + 0, 0, 1, 1, 2, 2 + }; /** * Translates characters to character classes @@ -426,14 +420,14 @@ class _PropertiesLexer implements FlexLexer { zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; - zzState = zzLexicalState; + zzState = ZZ_LEXSTATE[zzLexicalState]; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) - zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++); + zzInput = (zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++] : zzBufferL.charAt(zzCurrentPosL++)); else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; @@ -453,7 +447,7 @@ class _PropertiesLexer implements FlexLexer { break zzForAction; } else { - zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++); + zzInput = (zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++] : zzBufferL.charAt(zzCurrentPosL++)); } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; diff --git a/plugins/properties/properties-psi-api/properties-psi-api.iml b/plugins/properties/properties-psi-api/properties-psi-api.iml index 2b163979b3c4..568699a886ad 100644 --- a/plugins/properties/properties-psi-api/properties-psi-api.iml +++ b/plugins/properties/properties-psi-api/properties-psi-api.iml @@ -5,6 +5,7 @@ +