Fix crash with anonymous function parameters in function definitions.
Issue #135.
This commit is contained in:
2
decl.h
2
decl.h
@@ -153,6 +153,8 @@ public:
|
||||
declarator and symbols for its arguments in *args. */
|
||||
Symbol *GetFunctionInfo(DeclSpecs *ds, std::vector<Symbol *> *args);
|
||||
|
||||
Symbol *GetSymbolForFunctionParameter(int paramNum) const;
|
||||
|
||||
/** Returns the symbol associated with the declarator. */
|
||||
Symbol *GetSymbol() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user