fix typo 'choise' instead of 'choice' (#232)

This commit is contained in:
NotAPenguin 2022-07-06 13:07:47 +02:00 committed by GitHub
parent c4772a1b00
commit f9184bc2d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4234,12 +4234,12 @@ template <typename Annotation> struct AstBase : public Annotation {
AstBase(const AstBase &ast, const char *original_name, size_t position = 0, AstBase(const AstBase &ast, const char *original_name, size_t position = 0,
size_t length = 0, size_t original_choice_count = 0, size_t length = 0, size_t original_choice_count = 0,
size_t original_choise = 0) size_t original_choice = 0)
: path(ast.path), line(ast.line), column(ast.column), name(ast.name), : path(ast.path), line(ast.line), column(ast.column), name(ast.name),
position(position), length(length), choice_count(ast.choice_count), position(position), length(length), choice_count(ast.choice_count),
choice(ast.choice), original_name(original_name), choice(ast.choice), original_name(original_name),
original_choice_count(original_choice_count), original_choice_count(original_choice_count),
original_choice(original_choise), tag(ast.tag), original_choice(original_choice), tag(ast.tag),
original_tag(str2tag(original_name)), is_token(ast.is_token), original_tag(str2tag(original_name)), is_token(ast.is_token),
token(ast.token), nodes(ast.nodes), parent(ast.parent) {} token(ast.token), nodes(ast.nodes), parent(ast.parent) {}