diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-13 19:19:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-13 19:19:51 +0300 |
commit | 1356e77d8e711acd06bee16911ec568902eca54d (patch) | |
tree | 119b7b9c178d808bf2e585f95f9af512aaa17555 /src/parsers | |
parent | 70026dc811a06e9b8b26ca94e56a327ec29839a0 (diff) | |
download | paranucker-1356e77d8e711acd06bee16911ec568902eca54d.tar.gz paranucker-1356e77d8e711acd06bee16911ec568902eca54d.tar.bz2 paranucker-1356e77d8e711acd06bee16911ec568902eca54d.tar.xz paranucker-1356e77d8e711acd06bee16911ec568902eca54d.zip |
Add parsing node BREAK_STMT.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/stmt/break_stmt.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/parsers/stmt/break_stmt.cpp b/src/parsers/stmt/break_stmt.cpp new file mode 100644 index 0000000..0055835 --- /dev/null +++ b/src/parsers/stmt/break_stmt.cpp @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2015 Andrei Karas + * + * This file is part of AstDumper. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "includes/parserincludes.h" + +parserDefine(BreakStmt); + +#include "parsers/base/stmt.h" + +#include "nodes/stmt/break_stmt.h" + +namespace Generic +{ + +void parseBreakStmtNode(BreakStmtNode *node) +{ + fillType(node); + Log::dump(node); +} + +} |