Commit 18ff77e9 authored by Jean-François Remacle's avatar Jean-François Remacle

A

Merge branch 'master' of http://gitlab.onelab.info/gmsh/gmsh
parents 71450ec2 e9755630
......@@ -462,6 +462,12 @@ void skip(const char *skip, const char *until)
else if(c_next == '/') skipline();
else unput(c_next);
}
if(chars[0] == '"'){
parsestring('"');
}
if(chars[0] == '\''){
parsestring('\'');
}
if(!c_previous || !is_alpha(c_previous)){
if(chars[0] == until[0]) break;
if(skip && chars[0] == skip[0]) break;
......
......@@ -3991,6 +3991,12 @@ void skip(const char *skip, const char *until)
else if(c_next == '/') skipline();
else unput(c_next);
}
if(chars[0] == '"'){
parsestring('"');
}
if(chars[0] == '\''){
parsestring('\'');
}
if(!c_previous || !is_alpha(c_previous)){
if(chars[0] == until[0]) break;
if(skip && chars[0] == skip[0]) break;
......
......@@ -858,7 +858,7 @@ parsing of the script file:
StringToName(@var{char-expression}) | S2N(@var{char-expression}) |
GetNumber(@var{char-expression} <,@var{expression}>) |
GetValue("@var{string}", @var{expression}) |
DefineNumber(@var{expression}, @var{onelab-options}) |
DefineNumber(@var{expression}, @var{onelab-options})
@end example
Such @w{@var{expression}s} are used in most of Gmsh's scripting
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment