From 89eac4f59dc128041811884773f348942095dea9 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 28 Feb 2017 10:32:40 +0900 Subject: Update codegen.c comments --- mrbgems/mruby-compiler/core/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 5be8bdc7f..2b34e4b7f 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -768,14 +768,14 @@ new_dsym(parser_state *p, node *a) return cons((node*)NODE_DSYM, new_dstr(p, a)); } -/* (:str . (a . a)) */ +/* (:regx . (s . (opt . enc))) */ static node* new_regx(parser_state *p, const char *p1, const char* p2, const char* p3) { return cons((node*)NODE_REGX, cons((node*)p1, cons((node*)p2, (node*)p3))); } -/* (:dregx . a) */ +/* (:dregx . (a . b)) */ static node* new_dregx(parser_state *p, node *a, node *b) { -- cgit v1.2.3