diff --git a/Parser/Languages.xml b/Languages.xml
similarity index 100%
rename from Parser/Languages.xml
rename to Languages.xml
diff --git a/Parser/Grammar/SpecFlowLangLexer_de.cs b/Parser/Grammar/SpecFlowLangLexer_de.cs
index f84db1c01..992b3a27d 100644
--- a/Parser/Grammar/SpecFlowLangLexer_de.cs
+++ b/Parser/Grammar/SpecFlowLangLexer_de.cs
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.2 SpecFlowLangLexer_de.g 2009-11-09 17:26:25
+// $ANTLR 3.1.2 SpecFlowLangLexer_de.g 2009-11-10 15:19:40
// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
@@ -1317,13 +1317,13 @@ public bool synpred12_SpecFlowLangLexer_de()
state.failed = false;
return success;
}
- public bool synpred9_SpecFlowLangLexer_de()
+ public bool synpred3_SpecFlowLangLexer_de()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred9_SpecFlowLangLexer_de_fragment(); // can never throw exception
+ synpred3_SpecFlowLangLexer_de_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1335,13 +1335,13 @@ public bool synpred9_SpecFlowLangLexer_de()
state.failed = false;
return success;
}
- public bool synpred3_SpecFlowLangLexer_de()
+ public bool synpred9_SpecFlowLangLexer_de()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred3_SpecFlowLangLexer_de_fragment(); // can never throw exception
+ synpred9_SpecFlowLangLexer_de_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1407,13 +1407,13 @@ public bool synpred2_SpecFlowLangLexer_de()
state.failed = false;
return success;
}
- public bool synpred5_SpecFlowLangLexer_de()
+ public bool synpred7_SpecFlowLangLexer_de()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred5_SpecFlowLangLexer_de_fragment(); // can never throw exception
+ synpred7_SpecFlowLangLexer_de_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1443,13 +1443,13 @@ public bool synpred15_SpecFlowLangLexer_de()
state.failed = false;
return success;
}
- public bool synpred7_SpecFlowLangLexer_de()
+ public bool synpred5_SpecFlowLangLexer_de()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred7_SpecFlowLangLexer_de_fragment(); // can never throw exception
+ synpred5_SpecFlowLangLexer_de_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1489,35 +1489,35 @@ private void InitializeCyclicDFAs()
}
const string DFA7_eotS =
- "\x1e\uffff";
+ "\x1f\uffff";
const string DFA7_eofS =
- "\x1e\uffff";
+ "\x1f\uffff";
const string DFA7_minS =
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00"+
- "\x01\uffff\x01\x00\x03\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01"+
+ "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff\x01\x00"+
+ "\x02\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
+ "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x02"+
"\uffff\x01\x00\x01\uffff";
const string DFA7_maxS =
- "\x01\uffff\x01\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00"+
- "\x01\uffff\x01\x00\x03\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01"+
+ "\x01\uffff\x01\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff\x01\x00"+
+ "\x02\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
+ "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x02"+
"\uffff\x01\x00\x01\uffff";
const string DFA7_acceptS =
- "\x01\uffff\x01\x0e\x01\uffff\x01\x05\x01\x11\x01\uffff\x01\x0a"+
- "\x01\x10\x01\uffff\x01\x0f\x01\uffff\x01\x09\x01\x11\x01\x0d\x01"+
- "\uffff\x01\x02\x01\x06\x01\uffff\x01\x01\x01\uffff\x01\x0b\x01\uffff"+
- "\x01\x03\x01\x04\x01\uffff\x01\x07\x01\uffff\x01\x0c\x01\uffff\x01"+
- "\x08";
+ "\x01\uffff\x01\x0d\x01\uffff\x01\x0e\x01\x0f\x01\uffff\x01\x03"+
+ "\x01\x04\x01\x11\x01\uffff\x01\x09\x01\x0e\x01\uffff\x01\x08\x01"+
+ "\uffff\x01\x0c\x01\x11\x01\uffff\x01\x01\x01\uffff\x01\x0a\x01\uffff"+
+ "\x01\x02\x01\x06\x01\uffff\x01\x05\x01\uffff\x01\x0b\x01\x10\x01"+
+ "\uffff\x01\x07";
const string DFA7_specialS =
- "\x01\x00\x01\uffff\x01\x01\x02\uffff\x01\x02\x02\uffff\x01\x03"+
- "\x01\uffff\x01\x04\x03\uffff\x01\x05\x02\uffff\x01\x06\x01\uffff"+
- "\x01\x07\x01\uffff\x01\x08\x02\uffff\x01\x09\x01\uffff\x01\x0a\x01"+
+ "\x01\x00\x01\uffff\x01\x01\x02\uffff\x01\x02\x03\uffff\x01\x03"+
+ "\x02\uffff\x01\x04\x01\uffff\x01\x05\x02\uffff\x01\x06\x01\uffff"+
+ "\x01\x07\x01\uffff\x01\x08\x02\uffff\x01\x09\x01\uffff\x01\x0a\x02"+
"\uffff\x01\x0b\x01\uffff}>";
static readonly string[] DFA7_transitionS = {
- "\x09\x0c\x01\x08\x01\x07\x02\x0c\x01\x07\x12\x0c\x01\x08\x01"+
- "\x0c\x01\x13\x01\x01\x1c\x0c\x01\x0d\x01\x05\x01\x02\x01\x0c"+
- "\x01\x1c\x01\x0c\x01\x11\x01\x0e\x0b\x0c\x01\x15\x01\x0c\x01"+
- "\x0a\x01\x0c\x01\x18\x24\x0c\x01\x1a\uff83\x0c",
+ "\x09\x10\x01\x02\x01\x1c\x02\x10\x01\x1c\x12\x10\x01\x02\x01"+
+ "\x10\x01\x1a\x01\x0b\x1c\x10\x01\x01\x01\x13\x01\x18\x01\x10"+
+ "\x01\x0c\x01\x10\x01\x11\x01\x15\x0b\x10\x01\x05\x01\x10\x01"+
+ "\x09\x01\x10\x01\x1d\x24\x10\x01\x0e\uff83\x10",
"",
"\x01\uffff",
"",
@@ -1525,11 +1525,11 @@ private void InitializeCyclicDFAs()
"\x01\uffff",
"",
"",
- "\x01\uffff",
"",
"\x01\uffff",
"",
"",
+ "\x01\uffff",
"",
"\x01\uffff",
"",
@@ -1545,6 +1545,7 @@ private void InitializeCyclicDFAs()
"",
"\x01\uffff",
"",
+ "",
"\x01\uffff",
""
};
@@ -1591,35 +1592,35 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int LA7_0 = input.LA(1);
s = -1;
- if ( (LA7_0 == '#') ) { s = 1; }
-
- else if ( (LA7_0 == 'B') ) { s = 2; }
+ if ( (LA7_0 == '@') ) { s = 1; }
- else if ( (LA7_0 == 'A') ) { s = 5; }
+ else if ( (LA7_0 == '\t' || LA7_0 == ' ') ) { s = 2; }
- else if ( (LA7_0 == '\n' || LA7_0 == '\r') ) { s = 7; }
+ else if ( (LA7_0 == 'S') ) { s = 5; }
- else if ( (LA7_0 == '\t' || LA7_0 == ' ') ) { s = 8; }
+ else if ( (LA7_0 == 'U') ) { s = 9; }
- else if ( (LA7_0 == 'U') ) { s = 10; }
+ else if ( (LA7_0 == '#') ) { s = 11; }
- else if ( ((LA7_0 >= '\u0000' && LA7_0 <= '\b') || (LA7_0 >= '\u000B' && LA7_0 <= '\f') || (LA7_0 >= '\u000E' && LA7_0 <= '\u001F') || LA7_0 == '!' || (LA7_0 >= '$' && LA7_0 <= '?') || LA7_0 == 'C' || LA7_0 == 'E' || (LA7_0 >= 'H' && LA7_0 <= 'R') || LA7_0 == 'T' || LA7_0 == 'V' || (LA7_0 >= 'X' && LA7_0 <= '{') || (LA7_0 >= '}' && LA7_0 <= '\uFFFF')) ) { s = 12; }
+ else if ( (LA7_0 == 'D') ) { s = 12; }
- else if ( (LA7_0 == '@') ) { s = 13; }
+ else if ( (LA7_0 == '|') ) { s = 14; }
- else if ( (LA7_0 == 'G') ) { s = 14; }
+ else if ( ((LA7_0 >= '\u0000' && LA7_0 <= '\b') || (LA7_0 >= '\u000B' && LA7_0 <= '\f') || (LA7_0 >= '\u000E' && LA7_0 <= '\u001F') || LA7_0 == '!' || (LA7_0 >= '$' && LA7_0 <= '?') || LA7_0 == 'C' || LA7_0 == 'E' || (LA7_0 >= 'H' && LA7_0 <= 'R') || LA7_0 == 'T' || LA7_0 == 'V' || (LA7_0 >= 'X' && LA7_0 <= '{') || (LA7_0 >= '}' && LA7_0 <= '\uFFFF')) ) { s = 16; }
else if ( (LA7_0 == 'F') ) { s = 17; }
- else if ( (LA7_0 == '\"') ) { s = 19; }
+ else if ( (LA7_0 == 'A') ) { s = 19; }
+
+ else if ( (LA7_0 == 'G') ) { s = 21; }
- else if ( (LA7_0 == 'S') ) { s = 21; }
+ else if ( (LA7_0 == 'B') ) { s = 24; }
- else if ( (LA7_0 == 'W') ) { s = 24; }
+ else if ( (LA7_0 == '\"') ) { s = 26; }
- else if ( (LA7_0 == '|') ) { s = 26; }
+ else if ( (LA7_0 == '\n' || LA7_0 == '\r') ) { s = 28; }
- else if ( (LA7_0 == 'D') ) { s = 28; }
+ else if ( (LA7_0 == 'W') ) { s = 29; }
if ( s >= 0 ) return s;
break;
@@ -1630,9 +1631,9 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_2 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred5_SpecFlowLangLexer_de()) ) { s = 3; }
+ if ( (synpred14_SpecFlowLangLexer_de()) ) { s = 3; }
- else if ( (true) ) { s = 4; }
+ else if ( (synpred15_SpecFlowLangLexer_de()) ) { s = 4; }
input.Seek(index7_2);
@@ -1645,42 +1646,44 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_5 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred10_SpecFlowLangLexer_de()) ) { s = 6; }
+ if ( (synpred3_SpecFlowLangLexer_de()) ) { s = 6; }
- else if ( (true) ) { s = 4; }
+ else if ( (synpred4_SpecFlowLangLexer_de()) ) { s = 7; }
+
+ else if ( (true) ) { s = 8; }
input.Seek(index7_5);
if ( s >= 0 ) return s;
break;
case 3 :
- int LA7_8 = input.LA(1);
+ int LA7_9 = input.LA(1);
- int index7_8 = input.Index();
+ int index7_9 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred14_SpecFlowLangLexer_de()) ) { s = 1; }
+ if ( (synpred9_SpecFlowLangLexer_de()) ) { s = 10; }
- else if ( (synpred15_SpecFlowLangLexer_de()) ) { s = 9; }
+ else if ( (true) ) { s = 8; }
- input.Seek(index7_8);
+ input.Seek(index7_9);
if ( s >= 0 ) return s;
break;
case 4 :
- int LA7_10 = input.LA(1);
+ int LA7_12 = input.LA(1);
- int index7_10 = input.Index();
+ int index7_12 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred9_SpecFlowLangLexer_de()) ) { s = 11; }
+ if ( (synpred8_SpecFlowLangLexer_de()) ) { s = 13; }
- else if ( (true) ) { s = 4; }
+ else if ( (true) ) { s = 8; }
- input.Seek(index7_10);
+ input.Seek(index7_12);
if ( s >= 0 ) return s;
break;
case 5 :
@@ -1690,11 +1693,9 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_14 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred2_SpecFlowLangLexer_de()) ) { s = 15; }
-
- else if ( (synpred6_SpecFlowLangLexer_de()) ) { s = 16; }
+ if ( (synpred12_SpecFlowLangLexer_de()) ) { s = 15; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 8; }
input.Seek(index7_14);
@@ -1709,7 +1710,7 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
s = -1;
if ( (synpred1_SpecFlowLangLexer_de()) ) { s = 18; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 16; }
input.Seek(index7_17);
@@ -1722,9 +1723,9 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_19 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred11_SpecFlowLangLexer_de()) ) { s = 20; }
+ if ( (synpred10_SpecFlowLangLexer_de()) ) { s = 20; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 16; }
input.Seek(index7_19);
@@ -1737,11 +1738,11 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_21 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred3_SpecFlowLangLexer_de()) ) { s = 22; }
+ if ( (synpred2_SpecFlowLangLexer_de()) ) { s = 22; }
- else if ( (synpred4_SpecFlowLangLexer_de()) ) { s = 23; }
+ else if ( (synpred6_SpecFlowLangLexer_de()) ) { s = 23; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 16; }
input.Seek(index7_21);
@@ -1754,9 +1755,9 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_24 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred7_SpecFlowLangLexer_de()) ) { s = 25; }
+ if ( (synpred5_SpecFlowLangLexer_de()) ) { s = 25; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 16; }
input.Seek(index7_24);
@@ -1769,27 +1770,27 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_26 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred12_SpecFlowLangLexer_de()) ) { s = 27; }
+ if ( (synpred11_SpecFlowLangLexer_de()) ) { s = 27; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 16; }
input.Seek(index7_26);
if ( s >= 0 ) return s;
break;
case 11 :
- int LA7_28 = input.LA(1);
+ int LA7_29 = input.LA(1);
- int index7_28 = input.Index();
+ int index7_29 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred8_SpecFlowLangLexer_de()) ) { s = 29; }
+ if ( (synpred7_SpecFlowLangLexer_de()) ) { s = 30; }
- else if ( (true) ) { s = 12; }
+ else if ( (true) ) { s = 16; }
- input.Seek(index7_28);
+ input.Seek(index7_29);
if ( s >= 0 ) return s;
break;
}
diff --git a/Parser/Grammar/SpecFlowLangLexer_en.cs b/Parser/Grammar/SpecFlowLangLexer_en.cs
index da52f9d4b..916eed93b 100644
--- a/Parser/Grammar/SpecFlowLangLexer_en.cs
+++ b/Parser/Grammar/SpecFlowLangLexer_en.cs
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.2 SpecFlowLangLexer_en.g 2009-11-09 17:26:24
+// $ANTLR 3.1.2 SpecFlowLangLexer_en.g 2009-11-10 15:19:40
// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
@@ -1259,13 +1259,13 @@ public void synpred15_SpecFlowLangLexer_en_fragment() {
}
// $ANTLR end "synpred15_SpecFlowLangLexer_en"
- public bool synpred15_SpecFlowLangLexer_en()
+ public bool synpred12_SpecFlowLangLexer_en()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred15_SpecFlowLangLexer_en_fragment(); // can never throw exception
+ synpred12_SpecFlowLangLexer_en_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1277,13 +1277,13 @@ public bool synpred15_SpecFlowLangLexer_en()
state.failed = false;
return success;
}
- public bool synpred7_SpecFlowLangLexer_en()
+ public bool synpred9_SpecFlowLangLexer_en()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred7_SpecFlowLangLexer_en_fragment(); // can never throw exception
+ synpred9_SpecFlowLangLexer_en_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1295,13 +1295,13 @@ public bool synpred7_SpecFlowLangLexer_en()
state.failed = false;
return success;
}
- public bool synpred9_SpecFlowLangLexer_en()
+ public bool synpred15_SpecFlowLangLexer_en()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred9_SpecFlowLangLexer_en_fragment(); // can never throw exception
+ synpred15_SpecFlowLangLexer_en_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1313,13 +1313,13 @@ public bool synpred9_SpecFlowLangLexer_en()
state.failed = false;
return success;
}
- public bool synpred12_SpecFlowLangLexer_en()
+ public bool synpred7_SpecFlowLangLexer_en()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred12_SpecFlowLangLexer_en_fragment(); // can never throw exception
+ synpred7_SpecFlowLangLexer_en_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1521,43 +1521,45 @@ private void InitializeCyclicDFAs()
}
const string DFA8_eotS =
- "\x1f\uffff";
+ "\x1e\uffff";
const string DFA8_eofS =
- "\x1f\uffff";
+ "\x1e\uffff";
const string DFA8_minS =
- "\x02\x00\x03\uffff\x01\x00\x03\uffff\x01\x00\x01\uffff\x02\x00"+
- "\x01\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff";
+ "\x02\x00\x03\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00"+
+ "\x02\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
+ "\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x02"+
+ "\uffff";
const string DFA8_maxS =
- "\x01\uffff\x01\x00\x03\uffff\x01\x00\x03\uffff\x01\x00\x01\uffff"+
- "\x02\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01"+
- "\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff";
+ "\x01\uffff\x01\x00\x03\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff"+
+ "\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01"+
+ "\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01\uffff\x01"+
+ "\x00\x02\uffff";
const string DFA8_acceptS =
- "\x02\uffff\x01\x07\x01\x11\x01\x10\x01\uffff\x01\x03\x01\x04\x01"+
- "\x05\x01\uffff\x01\x08\x02\uffff\x01\x06\x01\uffff\x01\x09\x01\uffff"+
- "\x01\x0b\x01\x0d\x01\uffff\x01\x0c\x01\uffff\x01\x01\x01\x11\x01"+
- "\uffff\x01\x02\x01\x0a\x01\uffff\x01\x0e\x01\x0f\x01\x0e";
+ "\x02\uffff\x01\x0c\x01\x11\x01\x0d\x01\uffff\x01\x05\x01\uffff"+
+ "\x01\x03\x01\x04\x01\uffff\x01\x08\x01\x11\x01\uffff\x01\x09\x01"+
+ "\uffff\x01\x0b\x01\x0e\x01\uffff\x01\x0f\x01\uffff\x01\x06\x01\x10"+
+ "\x01\uffff\x01\x01\x01\uffff\x01\x07\x01\uffff\x01\x02\x01\x0a";
const string DFA8_specialS =
- "\x01\x00\x01\x01\x03\uffff\x01\x02\x03\uffff\x01\x03\x01\uffff"+
- "\x01\x04\x01\x05\x01\uffff\x01\x06\x01\uffff\x01\x07\x02\uffff\x01"+
- "\x08\x01\uffff\x01\x09\x02\uffff\x01\x0a\x02\uffff\x01\x0b\x03\uffff}>";
+ "\x01\x00\x01\x01\x03\uffff\x01\x02\x01\uffff\x01\x03\x02\uffff"+
+ "\x01\x04\x02\uffff\x01\x05\x01\uffff\x01\x06\x02\uffff\x01\x07\x01"+
+ "\uffff\x01\x08\x02\uffff\x01\x09\x01\uffff\x01\x0a\x01\uffff\x01"+
+ "\x0b\x02\uffff}>";
static readonly string[] DFA8_transitionS = {
- "\x09\x17\x01\x1b\x01\x04\x02\x17\x01\x04\x12\x17\x01\x1b\x01"+
- "\x17\x01\x10\x01\x1e\x1c\x17\x01\x12\x01\x0e\x01\x18\x02\x17"+
- "\x01\x0b\x01\x15\x01\x0c\x0b\x17\x01\x05\x01\x09\x02\x17\x01"+
- "\x01\x24\x17\x01\x13\uff83\x17",
+ "\x09\x0c\x01\x12\x01\x16\x02\x0c\x01\x16\x12\x0c\x01\x12\x01"+
+ "\x0c\x01\x0f\x01\x11\x1c\x0c\x01\x04\x01\x0d\x01\x1b\x02\x0c"+
+ "\x01\x05\x01\x17\x01\x14\x0b\x0c\x01\x07\x01\x0a\x02\x0c\x01"+
+ "\x19\x24\x0c\x01\x01\uff83\x0c",
"\x01\uffff",
"",
"",
"",
"\x01\uffff",
"",
+ "\x01\uffff",
"",
"",
"\x01\uffff",
"",
- "\x01\uffff",
- "\x01\uffff",
"",
"\x01\uffff",
"",
@@ -1571,9 +1573,9 @@ private void InitializeCyclicDFAs()
"",
"\x01\uffff",
"",
- "",
"\x01\uffff",
"",
+ "\x01\uffff",
"",
""
};
@@ -1620,35 +1622,35 @@ protected internal int DFA8_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int LA8_0 = input.LA(1);
s = -1;
- if ( (LA8_0 == 'W') ) { s = 1; }
+ if ( (LA8_0 == '|') ) { s = 1; }
- else if ( (LA8_0 == '\n' || LA8_0 == '\r') ) { s = 4; }
+ else if ( (LA8_0 == '@') ) { s = 4; }
- else if ( (LA8_0 == 'S') ) { s = 5; }
+ else if ( (LA8_0 == 'E') ) { s = 5; }
- else if ( (LA8_0 == 'T') ) { s = 9; }
+ else if ( (LA8_0 == 'S') ) { s = 7; }
- else if ( (LA8_0 == 'E') ) { s = 11; }
+ else if ( (LA8_0 == 'T') ) { s = 10; }
- else if ( (LA8_0 == 'G') ) { s = 12; }
+ else if ( ((LA8_0 >= '\u0000' && LA8_0 <= '\b') || (LA8_0 >= '\u000B' && LA8_0 <= '\f') || (LA8_0 >= '\u000E' && LA8_0 <= '\u001F') || LA8_0 == '!' || (LA8_0 >= '$' && LA8_0 <= '?') || (LA8_0 >= 'C' && LA8_0 <= 'D') || (LA8_0 >= 'H' && LA8_0 <= 'R') || (LA8_0 >= 'U' && LA8_0 <= 'V') || (LA8_0 >= 'X' && LA8_0 <= '{') || (LA8_0 >= '}' && LA8_0 <= '\uFFFF')) ) { s = 12; }
- else if ( (LA8_0 == 'A') ) { s = 14; }
+ else if ( (LA8_0 == 'A') ) { s = 13; }
- else if ( (LA8_0 == '\"') ) { s = 16; }
+ else if ( (LA8_0 == '\"') ) { s = 15; }
- else if ( (LA8_0 == '@') ) { s = 18; }
+ else if ( (LA8_0 == '#') ) { s = 17; }
- else if ( (LA8_0 == '|') ) { s = 19; }
+ else if ( (LA8_0 == '\t' || LA8_0 == ' ') ) { s = 18; }
- else if ( (LA8_0 == 'F') ) { s = 21; }
+ else if ( (LA8_0 == 'G') ) { s = 20; }
- else if ( ((LA8_0 >= '\u0000' && LA8_0 <= '\b') || (LA8_0 >= '\u000B' && LA8_0 <= '\f') || (LA8_0 >= '\u000E' && LA8_0 <= '\u001F') || LA8_0 == '!' || (LA8_0 >= '$' && LA8_0 <= '?') || (LA8_0 >= 'C' && LA8_0 <= 'D') || (LA8_0 >= 'H' && LA8_0 <= 'R') || (LA8_0 >= 'U' && LA8_0 <= 'V') || (LA8_0 >= 'X' && LA8_0 <= '{') || (LA8_0 >= '}' && LA8_0 <= '\uFFFF')) ) { s = 23; }
+ else if ( (LA8_0 == '\n' || LA8_0 == '\r') ) { s = 22; }
- else if ( (LA8_0 == 'B') ) { s = 24; }
+ else if ( (LA8_0 == 'F') ) { s = 23; }
- else if ( (LA8_0 == '\t' || LA8_0 == ' ') ) { s = 27; }
+ else if ( (LA8_0 == 'W') ) { s = 25; }
- else if ( (LA8_0 == '#') ) { s = 30; }
+ else if ( (LA8_0 == 'B') ) { s = 27; }
if ( s >= 0 ) return s;
break;
@@ -1659,7 +1661,7 @@ protected internal int DFA8_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index8_1 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred7_SpecFlowLangLexer_en()) ) { s = 2; }
+ if ( (synpred12_SpecFlowLangLexer_en()) ) { s = 2; }
else if ( (true) ) { s = 3; }
@@ -1674,11 +1676,7 @@ protected internal int DFA8_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index8_5 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred3_SpecFlowLangLexer_en()) ) { s = 6; }
-
- else if ( (synpred4_SpecFlowLangLexer_en()) ) { s = 7; }
-
- else if ( (synpred5_SpecFlowLangLexer_en()) ) { s = 8; }
+ if ( (synpred5_SpecFlowLangLexer_en()) ) { s = 6; }
else if ( (true) ) { s = 3; }
@@ -1687,125 +1685,127 @@ protected internal int DFA8_SpecialStateTransition(DFA dfa, int s, IIntStream _i
if ( s >= 0 ) return s;
break;
case 3 :
- int LA8_9 = input.LA(1);
+ int LA8_7 = input.LA(1);
- int index8_9 = input.Index();
+ int index8_7 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred8_SpecFlowLangLexer_en()) ) { s = 10; }
+ if ( (synpred3_SpecFlowLangLexer_en()) ) { s = 8; }
+
+ else if ( (synpred4_SpecFlowLangLexer_en()) ) { s = 9; }
+
+ else if ( (synpred5_SpecFlowLangLexer_en()) ) { s = 6; }
else if ( (true) ) { s = 3; }
- input.Seek(index8_9);
+ input.Seek(index8_7);
if ( s >= 0 ) return s;
break;
case 4 :
- int LA8_11 = input.LA(1);
+ int LA8_10 = input.LA(1);
- int index8_11 = input.Index();
+ int index8_10 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred5_SpecFlowLangLexer_en()) ) { s = 8; }
+ if ( (synpred8_SpecFlowLangLexer_en()) ) { s = 11; }
else if ( (true) ) { s = 3; }
- input.Seek(index8_11);
+ input.Seek(index8_10);
if ( s >= 0 ) return s;
break;
case 5 :
- int LA8_12 = input.LA(1);
+ int LA8_13 = input.LA(1);
- int index8_12 = input.Index();
+ int index8_13 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred6_SpecFlowLangLexer_en()) ) { s = 13; }
+ if ( (synpred9_SpecFlowLangLexer_en()) ) { s = 14; }
- else if ( (true) ) { s = 3; }
+ else if ( (true) ) { s = 12; }
- input.Seek(index8_12);
+ input.Seek(index8_13);
if ( s >= 0 ) return s;
break;
case 6 :
- int LA8_14 = input.LA(1);
+ int LA8_15 = input.LA(1);
- int index8_14 = input.Index();
+ int index8_15 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred9_SpecFlowLangLexer_en()) ) { s = 15; }
+ if ( (synpred11_SpecFlowLangLexer_en()) ) { s = 16; }
- else if ( (true) ) { s = 3; }
+ else if ( (true) ) { s = 12; }
- input.Seek(index8_14);
+ input.Seek(index8_15);
if ( s >= 0 ) return s;
break;
case 7 :
- int LA8_16 = input.LA(1);
+ int LA8_18 = input.LA(1);
- int index8_16 = input.Index();
+ int index8_18 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred11_SpecFlowLangLexer_en()) ) { s = 17; }
+ if ( (synpred14_SpecFlowLangLexer_en()) ) { s = 17; }
- else if ( (true) ) { s = 3; }
+ else if ( (synpred15_SpecFlowLangLexer_en()) ) { s = 19; }
- input.Seek(index8_16);
+ input.Seek(index8_18);
if ( s >= 0 ) return s;
break;
case 8 :
- int LA8_19 = input.LA(1);
+ int LA8_20 = input.LA(1);
- int index8_19 = input.Index();
+ int index8_20 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred12_SpecFlowLangLexer_en()) ) { s = 20; }
+ if ( (synpred6_SpecFlowLangLexer_en()) ) { s = 21; }
- else if ( (true) ) { s = 3; }
+ else if ( (true) ) { s = 12; }
- input.Seek(index8_19);
+ input.Seek(index8_20);
if ( s >= 0 ) return s;
break;
case 9 :
- int LA8_21 = input.LA(1);
+ int LA8_23 = input.LA(1);
- int index8_21 = input.Index();
+ int index8_23 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred1_SpecFlowLangLexer_en()) ) { s = 22; }
+ if ( (synpred1_SpecFlowLangLexer_en()) ) { s = 24; }
- else if ( (true) ) { s = 3; }
+ else if ( (true) ) { s = 12; }
- input.Seek(index8_21);
+ input.Seek(index8_23);
if ( s >= 0 ) return s;
break;
case 10 :
- int LA8_24 = input.LA(1);
+ int LA8_25 = input.LA(1);
- int index8_24 = input.Index();
+ int index8_25 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred2_SpecFlowLangLexer_en()) ) { s = 25; }
+ if ( (synpred7_SpecFlowLangLexer_en()) ) { s = 26; }
- else if ( (synpred10_SpecFlowLangLexer_en()) ) { s = 26; }
-
- else if ( (true) ) { s = 23; }
+ else if ( (true) ) { s = 12; }
- input.Seek(index8_24);
+ input.Seek(index8_25);
if ( s >= 0 ) return s;
break;
case 11 :
@@ -1815,9 +1815,11 @@ protected internal int DFA8_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index8_27 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred14_SpecFlowLangLexer_en()) ) { s = 28; }
+ if ( (synpred2_SpecFlowLangLexer_en()) ) { s = 28; }
+
+ else if ( (synpred10_SpecFlowLangLexer_en()) ) { s = 29; }
- else if ( (synpred15_SpecFlowLangLexer_en()) ) { s = 29; }
+ else if ( (true) ) { s = 12; }
input.Seek(index8_27);
diff --git a/Parser/Grammar/SpecFlowLangLexer_fr.cs b/Parser/Grammar/SpecFlowLangLexer_fr.cs
index 94352772f..f93d6dc9b 100644
--- a/Parser/Grammar/SpecFlowLangLexer_fr.cs
+++ b/Parser/Grammar/SpecFlowLangLexer_fr.cs
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.2 SpecFlowLangLexer_fr.g 2009-11-09 17:26:25
+// $ANTLR 3.1.2 SpecFlowLangLexer_fr.g 2009-11-10 15:19:41
// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
@@ -1335,13 +1335,13 @@ public bool synpred14_SpecFlowLangLexer_fr()
state.failed = false;
return success;
}
- public bool synpred2_SpecFlowLangLexer_fr()
+ public bool synpred1_SpecFlowLangLexer_fr()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred2_SpecFlowLangLexer_fr_fragment(); // can never throw exception
+ synpred1_SpecFlowLangLexer_fr_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1353,13 +1353,13 @@ public bool synpred2_SpecFlowLangLexer_fr()
state.failed = false;
return success;
}
- public bool synpred1_SpecFlowLangLexer_fr()
+ public bool synpred2_SpecFlowLangLexer_fr()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred1_SpecFlowLangLexer_fr_fragment(); // can never throw exception
+ synpred2_SpecFlowLangLexer_fr_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1489,63 +1489,60 @@ private void InitializeCyclicDFAs()
}
const string DFA7_eotS =
- "\x1f\uffff";
+ "\x1d\uffff";
const string DFA7_eofS =
- "\x1f\uffff";
+ "\x1d\uffff";
const string DFA7_minS =
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff\x01\x00"+
- "\x02\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01"+
+ "\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x03\uffff\x01\x00"+
+ "\x01\uffff\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x03\uffff"+
+ "\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x02"+
"\uffff\x01\x00\x01\uffff";
const string DFA7_maxS =
- "\x01\uffff\x01\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff\x01\x00"+
- "\x02\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01"+
+ "\x01\uffff\x01\uffff\x01\x00\x01\uffff\x01\x00\x03\uffff\x01\x00"+
+ "\x01\uffff\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x03\uffff"+
+ "\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x01\uffff\x01\x00\x02"+
"\uffff\x01\x00\x01\uffff";
const string DFA7_acceptS =
- "\x01\uffff\x01\x10\x01\uffff\x01\x0e\x01\x0f\x01\uffff\x01\x05"+
- "\x01\x09\x01\x11\x01\uffff\x01\x0b\x01\x0e\x01\uffff\x01\x0a\x01"+
- "\x0d\x01\uffff\x01\x03\x01\x06\x01\uffff\x01\x02\x01\uffff\x01\x0c"+
- "\x01\uffff\x01\x04\x01\x11\x01\uffff\x01\x07\x01\uffff\x01\x01\x01"+
- "\uffff\x01\x08";
+ "\x01\uffff\x01\x11\x01\uffff\x01\x01\x01\uffff\x01\x05\x01\x09"+
+ "\x01\x0d\x01\uffff\x01\x04\x01\uffff\x01\x0a\x01\uffff\x01\x0b\x01"+
+ "\uffff\x01\x0c\x01\x10\x01\x0e\x01\uffff\x01\x07\x01\uffff\x01\x02"+
+ "\x01\uffff\x01\x08\x01\uffff\x01\x03\x01\x06\x01\uffff\x01\x0f";
const string DFA7_specialS =
- "\x01\x00\x01\uffff\x01\x01\x02\uffff\x01\x02\x03\uffff\x01\x03"+
- "\x02\uffff\x01\x04\x02\uffff\x01\x05\x02\uffff\x01\x06\x01\uffff"+
- "\x01\x07\x01\uffff\x01\x08\x02\uffff\x01\x09\x01\uffff\x01\x0a\x01"+
+ "\x01\x00\x01\uffff\x01\x01\x01\uffff\x01\x02\x03\uffff\x01\x03"+
+ "\x01\uffff\x01\x04\x01\uffff\x01\x05\x01\uffff\x01\x06\x03\uffff"+
+ "\x01\x07\x01\uffff\x01\x08\x01\uffff\x01\x09\x01\uffff\x01\x0a\x02"+
"\uffff\x01\x0b\x01\uffff}>";
static readonly string[] DFA7_transitionS = {
- "\x09\x18\x01\x02\x01\x01\x02\x18\x01\x01\x12\x18\x01\x02\x01"+
- "\x18\x01\x09\x01\x0b\x1c\x18\x01\x0e\x01\x1d\x01\x18\x01\x12"+
- "\x01\x18\x01\x05\x01\x1b\x05\x18\x01\x19\x01\x0c\x02\x18\x01"+
- "\x16\x02\x18\x01\x0f\x28\x18\x01\x14\uff83\x18",
+ "\x09\x01\x01\x1b\x01\x10\x02\x01\x01\x10\x12\x01\x01\x1b\x01"+
+ "\x01\x01\x0c\x01\x11\x1c\x01\x01\x07\x01\x16\x01\x01\x01\x14"+
+ "\x01\x01\x01\x04\x01\x02\x05\x01\x01\x12\x01\x0a\x02\x01\x01"+
+ "\x08\x02\x01\x01\x18\x28\x01\x01\x0e\uff83\x01",
"",
"\x01\uffff",
"",
- "",
"\x01\uffff",
"",
"",
"",
"\x01\uffff",
"",
- "",
"\x01\uffff",
"",
+ "\x01\uffff",
"",
"\x01\uffff",
"",
"",
- "\x01\uffff",
"",
"\x01\uffff",
"",
"\x01\uffff",
"",
- "",
"\x01\uffff",
"",
"\x01\uffff",
"",
+ "",
"\x01\uffff",
""
};
@@ -1592,35 +1589,35 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int LA7_0 = input.LA(1);
s = -1;
- if ( (LA7_0 == '\n' || LA7_0 == '\r') ) { s = 1; }
+ if ( ((LA7_0 >= '\u0000' && LA7_0 <= '\b') || (LA7_0 >= '\u000B' && LA7_0 <= '\f') || (LA7_0 >= '\u000E' && LA7_0 <= '\u001F') || LA7_0 == '!' || (LA7_0 >= '$' && LA7_0 <= '?') || LA7_0 == 'B' || LA7_0 == 'D' || (LA7_0 >= 'G' && LA7_0 <= 'K') || (LA7_0 >= 'N' && LA7_0 <= 'O') || (LA7_0 >= 'Q' && LA7_0 <= 'R') || (LA7_0 >= 'T' && LA7_0 <= '{') || (LA7_0 >= '}' && LA7_0 <= '\uFFFF')) ) { s = 1; }
- else if ( (LA7_0 == '\t' || LA7_0 == ' ') ) { s = 2; }
+ else if ( (LA7_0 == 'F') ) { s = 2; }
- else if ( (LA7_0 == 'E') ) { s = 5; }
+ else if ( (LA7_0 == 'E') ) { s = 4; }
- else if ( (LA7_0 == '\"') ) { s = 9; }
+ else if ( (LA7_0 == '@') ) { s = 7; }
- else if ( (LA7_0 == '#') ) { s = 11; }
+ else if ( (LA7_0 == 'P') ) { s = 8; }
- else if ( (LA7_0 == 'M') ) { s = 12; }
+ else if ( (LA7_0 == 'M') ) { s = 10; }
- else if ( (LA7_0 == '@') ) { s = 14; }
+ else if ( (LA7_0 == '\"') ) { s = 12; }
- else if ( (LA7_0 == 'S') ) { s = 15; }
+ else if ( (LA7_0 == '|') ) { s = 14; }
- else if ( (LA7_0 == 'C') ) { s = 18; }
+ else if ( (LA7_0 == '\n' || LA7_0 == '\r') ) { s = 16; }
- else if ( (LA7_0 == '|') ) { s = 20; }
+ else if ( (LA7_0 == '#') ) { s = 17; }
- else if ( (LA7_0 == 'P') ) { s = 22; }
+ else if ( (LA7_0 == 'L') ) { s = 18; }
- else if ( ((LA7_0 >= '\u0000' && LA7_0 <= '\b') || (LA7_0 >= '\u000B' && LA7_0 <= '\f') || (LA7_0 >= '\u000E' && LA7_0 <= '\u001F') || LA7_0 == '!' || (LA7_0 >= '$' && LA7_0 <= '?') || LA7_0 == 'B' || LA7_0 == 'D' || (LA7_0 >= 'G' && LA7_0 <= 'K') || (LA7_0 >= 'N' && LA7_0 <= 'O') || (LA7_0 >= 'Q' && LA7_0 <= 'R') || (LA7_0 >= 'T' && LA7_0 <= '{') || (LA7_0 >= '}' && LA7_0 <= '\uFFFF')) ) { s = 24; }
+ else if ( (LA7_0 == 'C') ) { s = 20; }
- else if ( (LA7_0 == 'L') ) { s = 25; }
+ else if ( (LA7_0 == 'A') ) { s = 22; }
- else if ( (LA7_0 == 'F') ) { s = 27; }
+ else if ( (LA7_0 == 'S') ) { s = 24; }
- else if ( (LA7_0 == 'A') ) { s = 29; }
+ else if ( (LA7_0 == '\t' || LA7_0 == ' ') ) { s = 27; }
if ( s >= 0 ) return s;
break;
@@ -1631,166 +1628,166 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_2 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred14_SpecFlowLangLexer_fr()) ) { s = 3; }
+ if ( (synpred1_SpecFlowLangLexer_fr()) ) { s = 3; }
- else if ( (synpred15_SpecFlowLangLexer_fr()) ) { s = 4; }
+ else if ( (true) ) { s = 1; }
input.Seek(index7_2);
if ( s >= 0 ) return s;
break;
case 2 :
- int LA7_5 = input.LA(1);
+ int LA7_4 = input.LA(1);
- int index7_5 = input.Index();
+ int index7_4 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred5_SpecFlowLangLexer_fr()) ) { s = 6; }
+ if ( (synpred5_SpecFlowLangLexer_fr()) ) { s = 5; }
- else if ( (synpred9_SpecFlowLangLexer_fr()) ) { s = 7; }
+ else if ( (synpred9_SpecFlowLangLexer_fr()) ) { s = 6; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_5);
+ input.Seek(index7_4);
if ( s >= 0 ) return s;
break;
case 3 :
- int LA7_9 = input.LA(1);
+ int LA7_8 = input.LA(1);
- int index7_9 = input.Index();
+ int index7_8 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred11_SpecFlowLangLexer_fr()) ) { s = 10; }
+ if ( (synpred4_SpecFlowLangLexer_fr()) ) { s = 9; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_9);
+ input.Seek(index7_8);
if ( s >= 0 ) return s;
break;
case 4 :
- int LA7_12 = input.LA(1);
+ int LA7_10 = input.LA(1);
- int index7_12 = input.Index();
+ int index7_10 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred10_SpecFlowLangLexer_fr()) ) { s = 13; }
+ if ( (synpred10_SpecFlowLangLexer_fr()) ) { s = 11; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_12);
+ input.Seek(index7_10);
if ( s >= 0 ) return s;
break;
case 5 :
- int LA7_15 = input.LA(1);
+ int LA7_12 = input.LA(1);
- int index7_15 = input.Index();
+ int index7_12 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred3_SpecFlowLangLexer_fr()) ) { s = 16; }
-
- else if ( (synpred6_SpecFlowLangLexer_fr()) ) { s = 17; }
+ if ( (synpred11_SpecFlowLangLexer_fr()) ) { s = 13; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_15);
+ input.Seek(index7_12);
if ( s >= 0 ) return s;
break;
case 6 :
- int LA7_18 = input.LA(1);
+ int LA7_14 = input.LA(1);
- int index7_18 = input.Index();
+ int index7_14 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred2_SpecFlowLangLexer_fr()) ) { s = 19; }
+ if ( (synpred12_SpecFlowLangLexer_fr()) ) { s = 15; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_18);
+ input.Seek(index7_14);
if ( s >= 0 ) return s;
break;
case 7 :
- int LA7_20 = input.LA(1);
+ int LA7_18 = input.LA(1);
- int index7_20 = input.Index();
+ int index7_18 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred12_SpecFlowLangLexer_fr()) ) { s = 21; }
+ if ( (synpred7_SpecFlowLangLexer_fr()) ) { s = 19; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_20);
+ input.Seek(index7_18);
if ( s >= 0 ) return s;
break;
case 8 :
- int LA7_22 = input.LA(1);
+ int LA7_20 = input.LA(1);
- int index7_22 = input.Index();
+ int index7_20 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred4_SpecFlowLangLexer_fr()) ) { s = 23; }
+ if ( (synpred2_SpecFlowLangLexer_fr()) ) { s = 21; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_22);
+ input.Seek(index7_20);
if ( s >= 0 ) return s;
break;
case 9 :
- int LA7_25 = input.LA(1);
+ int LA7_22 = input.LA(1);
- int index7_25 = input.Index();
+ int index7_22 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred7_SpecFlowLangLexer_fr()) ) { s = 26; }
+ if ( (synpred8_SpecFlowLangLexer_fr()) ) { s = 23; }
- else if ( (true) ) { s = 24; }
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_25);
+ input.Seek(index7_22);
if ( s >= 0 ) return s;
break;
case 10 :
- int LA7_27 = input.LA(1);
+ int LA7_24 = input.LA(1);
- int index7_27 = input.Index();
+ int index7_24 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred1_SpecFlowLangLexer_fr()) ) { s = 28; }
+ if ( (synpred3_SpecFlowLangLexer_fr()) ) { s = 25; }
- else if ( (true) ) { s = 24; }
+ else if ( (synpred6_SpecFlowLangLexer_fr()) ) { s = 26; }
+
+ else if ( (true) ) { s = 1; }
- input.Seek(index7_27);
+ input.Seek(index7_24);
if ( s >= 0 ) return s;
break;
case 11 :
- int LA7_29 = input.LA(1);
+ int LA7_27 = input.LA(1);
- int index7_29 = input.Index();
+ int index7_27 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred8_SpecFlowLangLexer_fr()) ) { s = 30; }
+ if ( (synpred14_SpecFlowLangLexer_fr()) ) { s = 17; }
- else if ( (true) ) { s = 24; }
+ else if ( (synpred15_SpecFlowLangLexer_fr()) ) { s = 28; }
- input.Seek(index7_29);
+ input.Seek(index7_27);
if ( s >= 0 ) return s;
break;
}
diff --git a/Parser/Grammar/SpecFlowLangLexer_hu.cs b/Parser/Grammar/SpecFlowLangLexer_hu.cs
index b8f803a1e..6a7e40e2d 100644
--- a/Parser/Grammar/SpecFlowLangLexer_hu.cs
+++ b/Parser/Grammar/SpecFlowLangLexer_hu.cs
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.2 SpecFlowLangLexer_hu.g 2009-11-09 17:26:26
+// $ANTLR 3.1.2 SpecFlowLangLexer_hu.g 2009-11-10 15:19:42
// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
@@ -1299,13 +1299,13 @@ public bool synpred11_SpecFlowLangLexer_hu()
state.failed = false;
return success;
}
- public bool synpred7_SpecFlowLangLexer_hu()
+ public bool synpred15_SpecFlowLangLexer_hu()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred7_SpecFlowLangLexer_hu_fragment(); // can never throw exception
+ synpred15_SpecFlowLangLexer_hu_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1317,13 +1317,13 @@ public bool synpred7_SpecFlowLangLexer_hu()
state.failed = false;
return success;
}
- public bool synpred15_SpecFlowLangLexer_hu()
+ public bool synpred7_SpecFlowLangLexer_hu()
{
state.backtracking++;
int start = input.Mark();
try
{
- synpred15_SpecFlowLangLexer_hu_fragment(); // can never throw exception
+ synpred7_SpecFlowLangLexer_hu_fragment(); // can never throw exception
}
catch (RecognitionException re)
{
@@ -1493,31 +1493,31 @@ private void InitializeCyclicDFAs()
const string DFA7_eofS =
"\x1f\uffff";
const string DFA7_minS =
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff\x01\x00"+
- "\x02\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x02"+
+ "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00"+
+ "\x02\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff"+
+ "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01"+
"\uffff\x01\x00\x01\uffff";
const string DFA7_maxS =
- "\x01\uffff\x01\uffff\x01\x00\x02\uffff\x01\x00\x03\uffff\x01\x00"+
- "\x02\uffff\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff"+
- "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x02"+
+ "\x01\uffff\x01\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00"+
+ "\x02\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff\x01\x00\x02\uffff"+
+ "\x01\x00\x01\uffff\x01\x00\x02\uffff\x01\x00\x01\uffff\x01\x00\x01"+
"\uffff\x01\x00\x01\uffff";
const string DFA7_acceptS =
- "\x01\uffff\x01\x0d\x01\uffff\x01\x0e\x01\x0f\x01\uffff\x01\x03"+
- "\x01\x04\x01\x11\x01\uffff\x01\x09\x01\x0e\x01\uffff\x01\x08\x01"+
- "\uffff\x01\x0c\x01\x11\x01\uffff\x01\x01\x01\uffff\x01\x0a\x01\uffff"+
- "\x01\x02\x01\x06\x01\uffff\x01\x05\x01\uffff\x01\x0b\x01\x10\x01"+
- "\uffff\x01\x07";
+ "\x01\uffff\x01\x10\x01\uffff\x01\x0e\x01\x0f\x01\uffff\x01\x07"+
+ "\x01\x11\x01\uffff\x01\x0b\x01\x0e\x01\uffff\x01\x0a\x01\x0d\x01"+
+ "\uffff\x01\x03\x01\x04\x01\uffff\x01\x02\x01\x06\x01\uffff\x01\x0c"+
+ "\x01\uffff\x01\x05\x01\x11\x01\uffff\x01\x08\x01\uffff\x01\x01\x01"+
+ "\uffff\x01\x09";
const string DFA7_specialS =
- "\x01\x00\x01\uffff\x01\x01\x02\uffff\x01\x02\x03\uffff\x01\x03"+
- "\x02\uffff\x01\x04\x01\uffff\x01\x05\x02\uffff\x01\x06\x01\uffff"+
- "\x01\x07\x01\uffff\x01\x08\x02\uffff\x01\x09\x01\uffff\x01\x0a\x02"+
+ "\x01\x00\x01\uffff\x01\x01\x02\uffff\x01\x02\x02\uffff\x01\x03"+
+ "\x02\uffff\x01\x04\x02\uffff\x01\x05\x02\uffff\x01\x06\x02\uffff"+
+ "\x01\x07\x01\uffff\x01\x08\x02\uffff\x01\x09\x01\uffff\x01\x0a\x01"+
"\uffff\x01\x0b\x01\uffff}>";
static readonly string[] DFA7_transitionS = {
- "\x09\x10\x01\x02\x01\x1c\x02\x10\x01\x1c\x12\x10\x01\x02\x01"+
- "\x10\x01\x1a\x01\x0b\x1c\x10\x01\x01\x01\x0c\x02\x10\x01\x13"+
- "\x01\x10\x01\x05\x01\x10\x01\x15\x01\x10\x01\x11\x02\x10\x01"+
- "\x1d\x02\x10\x01\x18\x2b\x10\x01\x0e\x4c\x10\x01\x09\uff36\x10",
+ "\x09\x18\x01\x02\x01\x01\x02\x18\x01\x01\x12\x18\x01\x02\x01"+
+ "\x18\x01\x08\x01\x0a\x1c\x18\x01\x0d\x01\x19\x02\x18\x01\x0b"+
+ "\x01\x18\x01\x0e\x01\x18\x01\x11\x01\x18\x01\x1b\x02\x18\x01"+
+ "\x05\x02\x18\x01\x16\x2b\x18\x01\x14\x4c\x18\x01\x1d\uff36\x18",
"",
"\x01\uffff",
"",
@@ -1525,17 +1525,18 @@ private void InitializeCyclicDFAs()
"\x01\uffff",
"",
"",
- "",
"\x01\uffff",
"",
"",
"\x01\uffff",
"",
+ "",
"\x01\uffff",
"",
"",
"\x01\uffff",
"",
+ "",
"\x01\uffff",
"",
"\x01\uffff",
@@ -1545,7 +1546,6 @@ private void InitializeCyclicDFAs()
"",
"\x01\uffff",
"",
- "",
"\x01\uffff",
""
};
@@ -1592,35 +1592,35 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int LA7_0 = input.LA(1);
s = -1;
- if ( (LA7_0 == '@') ) { s = 1; }
+ if ( (LA7_0 == '\n' || LA7_0 == '\r') ) { s = 1; }
else if ( (LA7_0 == '\t' || LA7_0 == ' ') ) { s = 2; }
- else if ( (LA7_0 == 'F') ) { s = 5; }
+ else if ( (LA7_0 == 'M') ) { s = 5; }
- else if ( (LA7_0 == '\u00C9') ) { s = 9; }
+ else if ( (LA7_0 == '\"') ) { s = 8; }
- else if ( (LA7_0 == '#') ) { s = 11; }
+ else if ( (LA7_0 == '#') ) { s = 10; }
- else if ( (LA7_0 == 'A') ) { s = 12; }
+ else if ( (LA7_0 == 'D') ) { s = 11; }
- else if ( (LA7_0 == '|') ) { s = 14; }
+ else if ( (LA7_0 == '@') ) { s = 13; }
- else if ( ((LA7_0 >= '\u0000' && LA7_0 <= '\b') || (LA7_0 >= '\u000B' && LA7_0 <= '\f') || (LA7_0 >= '\u000E' && LA7_0 <= '\u001F') || LA7_0 == '!' || (LA7_0 >= '$' && LA7_0 <= '?') || (LA7_0 >= 'B' && LA7_0 <= 'C') || LA7_0 == 'E' || LA7_0 == 'G' || LA7_0 == 'I' || (LA7_0 >= 'K' && LA7_0 <= 'L') || (LA7_0 >= 'N' && LA7_0 <= 'O') || (LA7_0 >= 'Q' && LA7_0 <= '{') || (LA7_0 >= '}' && LA7_0 <= '\u00C8') || (LA7_0 >= '\u00CA' && LA7_0 <= '\uFFFF')) ) { s = 16; }
+ else if ( (LA7_0 == 'F') ) { s = 14; }
- else if ( (LA7_0 == 'J') ) { s = 17; }
+ else if ( (LA7_0 == 'H') ) { s = 17; }
- else if ( (LA7_0 == 'D') ) { s = 19; }
+ else if ( (LA7_0 == '|') ) { s = 20; }
- else if ( (LA7_0 == 'H') ) { s = 21; }
+ else if ( (LA7_0 == 'P') ) { s = 22; }
- else if ( (LA7_0 == 'P') ) { s = 24; }
+ else if ( ((LA7_0 >= '\u0000' && LA7_0 <= '\b') || (LA7_0 >= '\u000B' && LA7_0 <= '\f') || (LA7_0 >= '\u000E' && LA7_0 <= '\u001F') || LA7_0 == '!' || (LA7_0 >= '$' && LA7_0 <= '?') || (LA7_0 >= 'B' && LA7_0 <= 'C') || LA7_0 == 'E' || LA7_0 == 'G' || LA7_0 == 'I' || (LA7_0 >= 'K' && LA7_0 <= 'L') || (LA7_0 >= 'N' && LA7_0 <= 'O') || (LA7_0 >= 'Q' && LA7_0 <= '{') || (LA7_0 >= '}' && LA7_0 <= '\u00C8') || (LA7_0 >= '\u00CA' && LA7_0 <= '\uFFFF')) ) { s = 24; }
- else if ( (LA7_0 == '\"') ) { s = 26; }
+ else if ( (LA7_0 == 'A') ) { s = 25; }
- else if ( (LA7_0 == '\n' || LA7_0 == '\r') ) { s = 28; }
+ else if ( (LA7_0 == 'J') ) { s = 27; }
- else if ( (LA7_0 == 'M') ) { s = 29; }
+ else if ( (LA7_0 == '\u00C9') ) { s = 29; }
if ( s >= 0 ) return s;
break;
@@ -1646,44 +1646,42 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_5 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred3_SpecFlowLangLexer_hu()) ) { s = 6; }
+ if ( (synpred7_SpecFlowLangLexer_hu()) ) { s = 6; }
- else if ( (synpred4_SpecFlowLangLexer_hu()) ) { s = 7; }
-
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 7; }
input.Seek(index7_5);
if ( s >= 0 ) return s;
break;
case 3 :
- int LA7_9 = input.LA(1);
+ int LA7_8 = input.LA(1);
- int index7_9 = input.Index();
+ int index7_8 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred9_SpecFlowLangLexer_hu()) ) { s = 10; }
+ if ( (synpred11_SpecFlowLangLexer_hu()) ) { s = 9; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 7; }
- input.Seek(index7_9);
+ input.Seek(index7_8);
if ( s >= 0 ) return s;
break;
case 4 :
- int LA7_12 = input.LA(1);
+ int LA7_11 = input.LA(1);
- int index7_12 = input.Index();
+ int index7_11 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred8_SpecFlowLangLexer_hu()) ) { s = 13; }
+ if ( (synpred10_SpecFlowLangLexer_hu()) ) { s = 12; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 7; }
- input.Seek(index7_12);
+ input.Seek(index7_11);
if ( s >= 0 ) return s;
break;
case 5 :
@@ -1693,9 +1691,11 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_14 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred12_SpecFlowLangLexer_hu()) ) { s = 15; }
+ if ( (synpred3_SpecFlowLangLexer_hu()) ) { s = 15; }
+
+ else if ( (synpred4_SpecFlowLangLexer_hu()) ) { s = 16; }
- else if ( (true) ) { s = 8; }
+ else if ( (true) ) { s = 7; }
input.Seek(index7_14);
@@ -1708,74 +1708,74 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_17 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred1_SpecFlowLangLexer_hu()) ) { s = 18; }
+ if ( (synpred2_SpecFlowLangLexer_hu()) ) { s = 18; }
- else if ( (true) ) { s = 16; }
+ else if ( (synpred6_SpecFlowLangLexer_hu()) ) { s = 19; }
+
+ else if ( (true) ) { s = 7; }
input.Seek(index7_17);
if ( s >= 0 ) return s;
break;
case 7 :
- int LA7_19 = input.LA(1);
+ int LA7_20 = input.LA(1);
- int index7_19 = input.Index();
+ int index7_20 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred10_SpecFlowLangLexer_hu()) ) { s = 20; }
+ if ( (synpred12_SpecFlowLangLexer_hu()) ) { s = 21; }
- else if ( (true) ) { s = 16; }
+ else if ( (true) ) { s = 7; }
- input.Seek(index7_19);
+ input.Seek(index7_20);
if ( s >= 0 ) return s;
break;
case 8 :
- int LA7_21 = input.LA(1);
+ int LA7_22 = input.LA(1);
- int index7_21 = input.Index();
+ int index7_22 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred2_SpecFlowLangLexer_hu()) ) { s = 22; }
-
- else if ( (synpred6_SpecFlowLangLexer_hu()) ) { s = 23; }
+ if ( (synpred5_SpecFlowLangLexer_hu()) ) { s = 23; }
- else if ( (true) ) { s = 16; }
+ else if ( (true) ) { s = 7; }
- input.Seek(index7_21);
+ input.Seek(index7_22);
if ( s >= 0 ) return s;
break;
case 9 :
- int LA7_24 = input.LA(1);
+ int LA7_25 = input.LA(1);
- int index7_24 = input.Index();
+ int index7_25 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred5_SpecFlowLangLexer_hu()) ) { s = 25; }
+ if ( (synpred8_SpecFlowLangLexer_hu()) ) { s = 26; }
- else if ( (true) ) { s = 16; }
+ else if ( (true) ) { s = 24; }
- input.Seek(index7_24);
+ input.Seek(index7_25);
if ( s >= 0 ) return s;
break;
case 10 :
- int LA7_26 = input.LA(1);
+ int LA7_27 = input.LA(1);
- int index7_26 = input.Index();
+ int index7_27 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred11_SpecFlowLangLexer_hu()) ) { s = 27; }
+ if ( (synpred1_SpecFlowLangLexer_hu()) ) { s = 28; }
- else if ( (true) ) { s = 16; }
+ else if ( (true) ) { s = 24; }
- input.Seek(index7_26);
+ input.Seek(index7_27);
if ( s >= 0 ) return s;
break;
case 11 :
@@ -1785,9 +1785,9 @@ protected internal int DFA7_SpecialStateTransition(DFA dfa, int s, IIntStream _i
int index7_29 = input.Index();
input.Rewind();
s = -1;
- if ( (synpred7_SpecFlowLangLexer_hu()) ) { s = 30; }
+ if ( (synpred9_SpecFlowLangLexer_hu()) ) { s = 30; }
- else if ( (true) ) { s = 16; }
+ else if ( (true) ) { s = 24; }
input.Seek(index7_29);
diff --git a/Parser/Grammar/SpecFlowLangParser.cs b/Parser/Grammar/SpecFlowLangParser.cs
index d2ae8ab88..3743082f5 100644
--- a/Parser/Grammar/SpecFlowLangParser.cs
+++ b/Parser/Grammar/SpecFlowLangParser.cs
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.2 SpecFlowLangParser.g 2009-11-09 17:26:27
+// $ANTLR 3.1.2 SpecFlowLangParser.g 2009-11-10 15:19:43
// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
@@ -492,7 +492,7 @@ public SpecFlowLangParser.feature_return feature() // throws RecognitionExceptio
// AST REWRITE
- // elements: descriptionLine, text, scenarioKind, tags, background
+ // elements: tags, scenarioKind, descriptionLine, background, text
// token labels:
// rule labels: retval
// token list labels:
@@ -1246,7 +1246,7 @@ public SpecFlowLangParser.background_return background() // throws RecognitionEx
// AST REWRITE
- // elements: givens, title
+ // elements: title, givens
// token labels:
// rule labels: retval
// token list labels:
@@ -1734,7 +1734,7 @@ public SpecFlowLangParser.scenarioOutline_return scenarioOutline() // throws Rec
// AST REWRITE
- // elements: tags, title, examples, steps
+ // elements: steps, title, examples, tags
// token labels:
// rule labels: retval
// token list labels:
@@ -2062,7 +2062,7 @@ public SpecFlowLangParser.exampleSet_return exampleSet() // throws RecognitionEx
// AST REWRITE
- // elements: text, table
+ // elements: table, text
// token labels:
// rule labels: retval
// token list labels:
@@ -3533,7 +3533,7 @@ public SpecFlowLangParser.sentenceEnd_return sentenceEnd() // throws Recognition
// AST REWRITE
- // elements: text, table, multilineText
+ // elements: text, multilineText, table
// token labels:
// rule labels: retval
// token list labels:
@@ -3775,7 +3775,7 @@ public SpecFlowLangParser.multilineText_return multilineText() // throws Recogni
// AST REWRITE
- // elements: multilineTextLine, indent
+ // elements: indent, multilineTextLine
// token labels:
// rule labels: retval
// token list labels:
@@ -4026,7 +4026,7 @@ public SpecFlowLangParser.multilineTextLine_return multilineTextLine() // throws
// AST REWRITE
- // elements: WS, text, NEWLINE
+ // elements: NEWLINE, text, WS
// token labels:
// rule labels: retval
// token list labels:
@@ -5048,7 +5048,7 @@ public SpecFlowLangParser.title_return title() // throws RecognitionException [1
// AST REWRITE
- // elements: titleRest, wordchar
+ // elements: wordchar, titleRest
// token labels:
// rule labels: retval
// token list labels:
diff --git a/Parser/Grammar/SpecFlowLangWalker.cs b/Parser/Grammar/SpecFlowLangWalker.cs
index ab6efadb0..5f2884dfd 100644
--- a/Parser/Grammar/SpecFlowLangWalker.cs
+++ b/Parser/Grammar/SpecFlowLangWalker.cs
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.2 SpecFlowLangWalker.g 2009-11-09 17:26:29
+// $ANTLR 3.1.2 SpecFlowLangWalker.g 2009-11-10 15:19:44
// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
diff --git a/Parser/Grammar/compile.cmd b/Parser/Grammar/compile.cmd
index 704fd8675..11a89cea1 100644
--- a/Parser/Grammar/compile.cmd
+++ b/Parser/Grammar/compile.cmd
@@ -1,18 +1,18 @@
pushd "%~dp0"
-..\..\lib\msxsl\msxsl.exe ..\Languages.xml LexerTransformation.xslt language=en -o SpecFlowLangLexer_en.g
+..\..\lib\msxsl\msxsl.exe ..\..\Languages.xml LexerTransformation.xslt language=en -o SpecFlowLangLexer_en.g
java -cp ..\..\lib\antlr\antlr-3.1.2.jar org.antlr.Tool SpecFlowLangLexer_en.g
del SpecFlowLangLexer_en.g
-..\..\lib\msxsl\msxsl.exe ..\Languages.xml LexerTransformation.xslt language=de -o SpecFlowLangLexer_de.g
+..\..\lib\msxsl\msxsl.exe ..\..\Languages.xml LexerTransformation.xslt language=de -o SpecFlowLangLexer_de.g
java -cp ..\..\lib\antlr\antlr-3.1.2.jar org.antlr.Tool SpecFlowLangLexer_de.g
del SpecFlowLangLexer_de.g
-..\..\lib\msxsl\msxsl.exe ..\Languages.xml LexerTransformation.xslt language=fr -o SpecFlowLangLexer_fr.g
+..\..\lib\msxsl\msxsl.exe ..\..\Languages.xml LexerTransformation.xslt language=fr -o SpecFlowLangLexer_fr.g
java -cp ..\..\lib\antlr\antlr-3.1.2.jar org.antlr.Tool SpecFlowLangLexer_fr.g
del SpecFlowLangLexer_fr.g
-..\..\lib\msxsl\msxsl.exe ..\Languages.xml LexerTransformation.xslt language=hu -o SpecFlowLangLexer_hu.g
+..\..\lib\msxsl\msxsl.exe ..\..\Languages.xml LexerTransformation.xslt language=hu -o SpecFlowLangLexer_hu.g
java -cp ..\..\lib\antlr\antlr-3.1.2.jar org.antlr.Tool SpecFlowLangLexer_hu.g
del SpecFlowLangLexer_hu.g
diff --git a/Parser/SpecFlowLangParser.cs b/Parser/SpecFlowLangParser.cs
index d96dd554b..388179e23 100644
--- a/Parser/SpecFlowLangParser.cs
+++ b/Parser/SpecFlowLangParser.cs
@@ -64,6 +64,8 @@ public Feature Parse(TextReader featureFileReader)
if (feature == null)
throw new SpecFlowParserException("Invalid Gherkin file!");
+ feature.Language = language.Name;
+
return feature;
}
diff --git a/Parser/SpecFlowUnitTestConverter.cs b/Parser/SpecFlowUnitTestConverter.cs
index 602c07200..d0831936b 100644
--- a/Parser/SpecFlowUnitTestConverter.cs
+++ b/Parser/SpecFlowUnitTestConverter.cs
@@ -1,6 +1,7 @@
using System;
using System.CodeDom;
using System.Collections.Generic;
+using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
@@ -122,6 +123,8 @@ private CodeMemberMethod GenerateTestFixtureSetup(CodeTypeDeclaration testType,
setupMethod.Statements.Add(
new CodeVariableDeclarationStatement(FEATUREINFO_TYPE, "featureInfo",
new CodeObjectCreateExpression(FEATUREINFO_TYPE,
+ new CodeObjectCreateExpression(typeof(CultureInfo),
+ new CodePrimitiveExpression(feature.Language)),
new CodePrimitiveExpression(feature.Title),
new CodePrimitiveExpression(feature.Description),
GetStringArrayExpression(feature.Tags))));
diff --git a/Parser/SyntaxElements/Feature.cs b/Parser/SyntaxElements/Feature.cs
index dc8dae27a..aaae2cf3e 100644
--- a/Parser/SyntaxElements/Feature.cs
+++ b/Parser/SyntaxElements/Feature.cs
@@ -18,12 +18,14 @@ public DescriptionLine(Text lineText)
public class Feature
{
+ public string Language { get; set; }
+ public string SourceFile { get; set; }
+
public Tags Tags { get; set; }
public Background Background { get; set; }
public Scenario[] Scenarios { get; set; }
public string Title { get; set; }
public string Description { get; set; }
- public string SourceFile { get; set; }
public Feature()
{
diff --git a/Parser/TechTalk.SpecFlow.Parser.csproj b/Parser/TechTalk.SpecFlow.Parser.csproj
index 4788dd65b..52f004135 100644
--- a/Parser/TechTalk.SpecFlow.Parser.csproj
+++ b/Parser/TechTalk.SpecFlow.Parser.csproj
@@ -115,7 +115,6 @@
-