From f9184bc2d4ef60c5c3f9b05c19e5239afdcab170 Mon Sep 17 00:00:00 2001 From: NotAPenguin Date: Wed, 6 Jul 2022 13:07:47 +0200 Subject: [PATCH] fix typo 'choise' instead of 'choice' (#232) --- peglib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peglib.h b/peglib.h index 1b33afb..4284937 100644 --- a/peglib.h +++ b/peglib.h @@ -4234,12 +4234,12 @@ template struct AstBase : public Annotation { AstBase(const AstBase &ast, const char *original_name, size_t position = 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), position(position), length(length), choice_count(ast.choice_count), choice(ast.choice), original_name(original_name), 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), token(ast.token), nodes(ast.nodes), parent(ast.parent) {}