Skip to content

Commit 74c9d4c

Browse files
committed
undo ca9f3e1...
1 parent 16b9b37 commit 74c9d4c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Rubberduck.Parsing/Grammar/VBALexer.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ SINGLEQUOTE : '\'';
305305
UNDERSCORE : '_';
306306
WS : [ \t];
307307
GUIDLITERAL : '{' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '}';
308-
IDENTIFIER : ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; 0-9/\\] ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; ]*;
308+
IDENTIFIER : ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; 0-9-/\\-] ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; -]*;
309309
LINE_CONTINUATION : [ \t]+ UNDERSCORE [ \t]* '\r'? '\n' WS_NOT_FOLLOWED_BY_LINE_CONTINUATION*;
310310
// The following rule is needed in order to capture hex literals without format prefixes which start with a digit. Needed for VBForm resources.
311311
BARE_HEX_LITERAL : [0-9] [0-9a-fA-F]*;

RubberduckCodeAnalysis/InspectionXmlDocAnalyzer.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77

88
namespace RubberduckCodeAnalysis
99
{
10+
[DiagnosticAnalyzer(LanguageNames.CSharp)]
11+
public class ParsingXmlDocAnalyzer : DiagnosticAnalyzer
12+
{
13+
public const string
14+
}
15+
1016
[DiagnosticAnalyzer(LanguageNames.CSharp)]
1117
public class InspectionXmlDocAnalyzer : DiagnosticAnalyzer
1218
{
@@ -377,8 +383,10 @@ private static void CheckTypeAttribute(SymbolAnalysisContext context, XElement e
377383
{
378384
"Standard Module",
379385
"Class Module",
380-
"Document",
381-
"User Form"
386+
"Predeclared Class",
387+
"Interface Module",
388+
"Document Module",
389+
"UserForm Module",
382390
};
383391
}
384392
}

0 commit comments

Comments
 (0)