From 4eeb48be2218636e7cd16b8ad8d563c114297a1d Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 8 Mar 2001 14:28:41 +0000 Subject: [PATCH] Treat ^M as white space (this should solve problems with DOS files) --- Parser/Gmsh.l | 4 ++-- Parser/Gmsh.tab.cpp | 2 +- Parser/Gmsh.yy.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Parser/Gmsh.l b/Parser/Gmsh.l index 995276c8d8..353b5f6ec1 100644 --- a/Parser/Gmsh.l +++ b/Parser/Gmsh.l @@ -1,6 +1,6 @@ %{ -// $Id: Gmsh.l,v 1.26 2001-02-12 17:38:03 geuzaine Exp $ +// $Id: Gmsh.l,v 1.27 2001-03-08 14:28:41 geuzaine Exp $ #include <stdio.h> #include <stdlib.h> @@ -62,7 +62,7 @@ stepid {dieze}({digit})* %% -[\ \t\n] /* none */ ; +[ \ \t\n] /* none */ ; ";" return tEND; "/*" skipcomments(); "//" skipline(); diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index c8d600059f..85f0ce8b19 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -169,7 +169,7 @@ #line 1 "Gmsh.y" -// $Id: Gmsh.tab.cpp,v 1.75 2001-02-23 00:07:51 remacle Exp $ +// $Id: Gmsh.tab.cpp,v 1.76 2001-03-08 14:28:41 geuzaine Exp $ #include <stdarg.h> diff --git a/Parser/Gmsh.yy.cpp b/Parser/Gmsh.yy.cpp index ea43aa0eb6..17bfa556f4 100644 --- a/Parser/Gmsh.yy.cpp +++ b/Parser/Gmsh.yy.cpp @@ -2,7 +2,7 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.75 2001-02-23 00:07:51 remacle Exp $ + * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.76 2001-03-08 14:28:41 geuzaine Exp $ */ #define FLEX_SCANNER @@ -400,7 +400,7 @@ static yyconst short int yy_accept[983] = static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 5, 6, 1, 1, 7, 8, 1, 1, 9, 10, 1, 11, 12, 13, 14, 15, 16, @@ -978,7 +978,7 @@ char *yytext; #define INITIAL 0 #line 2 "Gmsh.l" -// $Id: Gmsh.yy.cpp,v 1.75 2001-02-23 00:07:51 remacle Exp $ +// $Id: Gmsh.yy.cpp,v 1.76 2001-03-08 14:28:41 geuzaine Exp $ #include <stdio.h> #include <stdlib.h> -- GitLab