Browse Source

VB token list: "Off" and "Explicit" are not reserved words.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2453 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 19 years ago
parent
commit
40b92e149e
  1. 2
      src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt
  2. 2
      src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs

2
src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt

@ -235,4 +235,4 @@ Null("Nothing") @@ -235,4 +235,4 @@ Null("Nothing")
BlockSucc("Case", "Catch", "Else", "ElseIf", "End", "Finally", "Loop", "Next")
# List of unreserved keywords, must be the same as the "Identifier" production in VBNET.ATG
Unreserved("Text", "Binary", "Compare", "Assembly", "Ansi", "Auto", "Preserve", "Unicode", "Until")
Unreserved("Text", "Binary", "Compare", "Assembly", "Ansi", "Auto", "Preserve", "Unicode", "Until", "Explicit", "Off")

2
src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs

@ -235,7 +235,7 @@ namespace ICSharpCode.NRefactory.Parser.VB @@ -235,7 +235,7 @@ namespace ICSharpCode.NRefactory.Parser.VB
}
public static BitArray Null = NewSet(Nothing);
public static BitArray BlockSucc = NewSet(Case, Catch, Else, ElseIf, End, Finally, Loop, Next);
public static BitArray Unreserved = NewSet(Text, Binary, Compare, Assembly, Ansi, Auto, Preserve, Unicode, Until);
public static BitArray Unreserved = NewSet(Text, Binary, Compare, Assembly, Ansi, Auto, Preserve, Unicode, Until, Explicit, Off);
static string[] tokenList = new string[] {
// ----- terminal classes -----

Loading…
Cancel
Save