fix(parser): functions body placebo so code compiles
This commit is contained in:
parent
b1bcd5e729
commit
417a518d1b
2 changed files with 17 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
||||||
|
#include "parser.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
|
struct ast *get_ast()
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
struct ast *get_ast_str(char *command)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
@ -7,6 +7,8 @@
|
||||||
*
|
*
|
||||||
* @return Returns the AST representation of the next command to execute.
|
* @return Returns the AST representation of the next command to execute.
|
||||||
* If there is no command left to execute, retuns an AST_END node.
|
* If there is no command left to execute, retuns an AST_END node.
|
||||||
|
*
|
||||||
|
* @warning NOT IMPLEMENTED
|
||||||
*/
|
*/
|
||||||
struct ast* get_ast();
|
struct ast* get_ast();
|
||||||
|
|
||||||
|
|
@ -14,6 +16,8 @@ struct ast* get_ast();
|
||||||
*
|
*
|
||||||
* @return Returns the AST representation of the given command string.
|
* @return Returns the AST representation of the given command string.
|
||||||
* Returns an AST_END node if the given command is empty.
|
* Returns an AST_END node if the given command is empty.
|
||||||
|
*
|
||||||
|
* @warning NOT IMPLEMENTED
|
||||||
*/
|
*/
|
||||||
struct ast* get_ast_str(char* command);
|
struct ast* get_ast_str(char* command);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue