[Issue 12128] C++ conversion error: not parsed until the end of the file
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 10 15:17:11 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12128
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario at gmx.de
--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> 2014-02-10 15:17:09 PST ---
The files reveal some deficiencies in the converters C++ parser, mostly it
seems not to deal with scoped identifiers. Here is a list of "Pre Token
Replacements" that let it get beyond the initial parsing:
*.*:: RtAudio::Api => RtAudio_Api
*.*:: RtAudio::StreamParameters => RtAudio_StreamParameters
*.*:: RtAudio::StreamOptions => RtAudio_StreamOptions
*.*:: RtError::Type => RtError_Type
*.*:: RtError::$_ident => RtErrorCode($_ident)
*.*:: RtAudio::DeviceInfo => RtAudio_DeviceInfo
throw() =>
*.*::std:: =>
virtual~ => /*virtual*/~
try { $try } catch( $ex ) { $catch } => $try
CALLBACK =>
Unfortunately the converter doesn't match declaration and implementation very
well afterwards...
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list