xen hypervisor 테스트 중 xl 에 대한 버그를 발견하고 처음으로 버그 패치를 보내 봤습니다.
단 한글자를 추가했지만, 대학원 전공이던 parser 에 대한 부분이라 뿌듯하네요. ㅋㅋ
[Xen-devel] [PATCH] xl: fix xl config parser
- To: xen-devel@xxxxxxxxxxxxx
- From: Choonho Son <choonho.son@xxxxxxxxx>
- Date: Wed, 10 Apr 2013 16:52:54 +0900
- Cc: Choonho Son <choonho.son@xxxxxxxxx>, ian.campbell@xxxxxxxxxx, ian.jackson@xxxxxxxxxxxxx, george.dunlap@xxxxxxxxxx,roger.pau@xxxxxxxxxx
- Delivery-date: Wed, 10 Apr 2013 09:19:32 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=K555SXQC5wdLUwsdI77wxAjiM1BhedfP2HIpEDntSMk=; b=J91LzEhYBgZyvUjiqMjavUTxGxuoCPSsRs2KQS1liS296HLzu6XeK9ejlu5DqaimYj khan779tSNn1Al2ppOcOpZzbSaMdMskJ74xw47UcyRmTfekBsHO/7PeIj7hLLnfi6F/G QtXeIVs6GK7xyZHpt8NAIqinEyTyH3xOyW8ZimOGyZn2dGcMEGzyMu2DXvfyizF8JPmp G0LAiE/gQ5zKKXsdMvOJi3vx9DZEIQY+w4YsC1AHOB6ISdN1XYlmLeZCnepy7zwfpFvH IjQqNK7tpAoG3h0HJb1eQynf+3e61wl5K4Yl3RU9ppFnScTtx6u5b1B6wb5oZcScsMQX GGcQ==
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
Bug: xl lexical analyzer cannot parse keyword which has .(dot) character like vif.default.script ref: 733b9c524dbc2bec318bfc3588ed1652455d30ec Error log: /etc/xen/xl.conf:28: config parsing error near `.default.script="vif-bridge"': lexical error Signed-off-by: Choonho Son <choonho.son@xxxxxxxxx> --- tools/libxl/libxlu_cfg_l.l | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/libxl/libxlu_cfg_l.l b/tools/libxl/libxlu_cfg_l.l index efac884..d5241e1 100644 --- a/tools/libxl/libxlu_cfg_l.l +++ b/tools/libxl/libxlu_cfg_l.l @@ -52,7 +52,7 @@ void xlu__cfg_yyset_column(int column_no, yyscan_t yyscanner); %% -[a-z][_0-9a-z]* { +[a-z][._0-9a-z]* { yylval->string= xlu__cfgl_strdup(ctx,yytext); GOT(IDENT); } -- 1.7.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel