All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xl: fix xl config parser
@ 2013-04-10  7:52 Choonho Son
  2013-04-10 13:08 ` Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Choonho Son @ 2013-04-10  7:52 UTC (permalink / raw)
  To: xen-devel
  Cc: Choonho Son, ian.campbell, ian.jackson, george.dunlap, roger.pau

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@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-12  7:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10  7:52 [PATCH] xl: fix xl config parser Choonho Son
2013-04-10 13:08 ` Ian Campbell
2013-04-10 15:51   ` Roger Pau Monné
2013-04-11 12:18     ` Ian Jackson
2013-04-12  7:56       ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.