[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xl: fix xl config parser



commit 9e14c516b6cbac4c676c988e577cea2ef78eebf6
Author:     Choonho Son <choonho.son@xxxxxxxxx>
AuthorDate: Wed Apr 10 08:52:54 2013 +0100
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Thu Apr 11 13:17:20 2013 +0100

    xl: fix xl config parser
    
    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>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Acked-by: Roger Pau Monne <roger.pau@xxxxxxxxxx>
---
 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);
                         }
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.