Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
7e264fca
Commit
7e264fca
authored
Oct 03, 2013
by
Vinicius Jarina
Browse files
Fixed WP7 Build (Enum.Parse)
parent
c37f2419
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/NLua/ObjectTranslator.cs
View file @
7e264fca
...
...
@@ -959,7 +959,7 @@ namespace NLua
string
sflags
=
LuaLib
.
LuaToString
(
luaState
,
2
);
string
err
=
null
;
try
{
res
=
Enum
.
Parse
(
t
,
sflags
);
res
=
Enum
.
Parse
(
t
,
sflags
,
true
);
}
catch
(
ArgumentException
e
)
{
err
=
e
.
Message
;
}
...
...
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