mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Stack compiler now correctly returns a string and not a pointer
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ public:
|
||||
/// Prerequisite: Successful call to parse or compile.
|
||||
/// @param type The type of the documentation to get.
|
||||
/// Can be one of 3 types defined at @c documentation_type
|
||||
std::string const* getJsonDocumentation(enum DocumentationType type);
|
||||
std::string const& getJsonDocumentation(enum DocumentationType type);
|
||||
|
||||
/// Returns the previously used scanner, useful for counting lines during error reporting.
|
||||
Scanner const& getScanner() const { return *m_scanner; }
|
||||
|
||||
Reference in New Issue
Block a user