Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
10e98317
Commit
10e98317
authored
Nov 22, 2010
by
mattijs
Browse files
BUG: UOPstream writing dictionary with keywords quoted.
parent
433808b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/IOstreams/Pstreams/UOPstream.C
View file @
10e98317
...
...
@@ -213,9 +213,20 @@ Foam::Ostream& Foam::UOPstream::write(const string& str)
}
Foam
::
Ostream
&
Foam
::
UOPstream
::
writeQuoted
(
const
std
::
string
&
str
,
const
bool
)
Foam
::
Ostream
&
Foam
::
UOPstream
::
writeQuoted
(
const
std
::
string
&
str
,
const
bool
quoted
)
{
write
(
char
(
token
::
STRING
));
if
(
quoted
)
{
write
(
char
(
token
::
STRING
));
}
else
{
write
(
char
(
token
::
WORD
));
}
size_t
len
=
str
.
size
();
writeToBuffer
(
len
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment