fix runtime error (Ruby 1.8.1 doesn't seem to parse this special character)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
90c12d3ec0
commit
c58bc59e5f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ if Char_constant::NULL_CONST != "\000"
|
||||||
raise RuntimeError, "Invalid value for NULL_CONST."
|
raise RuntimeError, "Invalid value for NULL_CONST."
|
||||||
end
|
end
|
||||||
|
|
||||||
if Char_constant::SPECIALCHAR != 'á'
|
if Char_constant::SPECIALCHAR != "\341" #'á'
|
||||||
raise RuntimeError, "Invalid value for SPECIALCHAR."
|
raise RuntimeError, "Invalid value for SPECIALCHAR."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue