Skip to content

Commit

Permalink
moved comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rivantsov committed Mar 14, 2012
1 parent a260274 commit 255ce30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Irony/Ast/AstBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ public virtual void VerifyLanguageData() {
config.DefaultNodeCreator = CompileDefaultNodeCreator(config.NodeType);
}
if (missingList.Count > 0)
// AST node type is not specified for term {0}. Either assign Term.AstConfig.NodeType, or specify default type(s) in AstBuilder.
Context.AddMessage(ErrorLevel.Error, SourceLocation.Empty, Resources.ErrNodeTypeNotSetOn, missingList.ToString());
Context.Language.AstDataVerified = true;
}
// AST node type is not specified for term {0}. Either assign Term.AstConfig.NodeType, or specify default type(s) in AstBuilder.

protected virtual Type GetDefaultNodeType(BnfTerm term) {
if (term is NumberLiteral || term is StringLiteral)
return Context.DefaultLiteralNodeType;
Expand Down

0 comments on commit 255ce30

Please sign in to comment.