diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-27 19:16:45 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-27 19:33:42 -0700 |
commit | 7af4c5b5c561362cb1135ab504095ae667a9270a (patch) | |
tree | 49ffd3008d7634ba36f3951493a68e928407ce89 /src/sexpr/parser.hpp | |
parent | 8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6 (diff) | |
download | tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.gz tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.bz2 tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.xz tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.zip |
This is more reliable
Diffstat (limited to 'src/sexpr/parser.hpp')
-rw-r--r-- | src/sexpr/parser.hpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/sexpr/parser.hpp b/src/sexpr/parser.hpp index c787e56..feed636 100644 --- a/src/sexpr/parser.hpp +++ b/src/sexpr/parser.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_SEXPR_PARSER_HPP -#define TMWA_SEXPR_PARSER_HPP +#pragma once // parser.hpp - build a tree of S-expressions // // Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com> @@ -19,17 +18,17 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. -# include "fwd.hpp" +#include "fwd.hpp" -# include <cstdlib> +#include <cstdlib> -# include "../strings/fwd.hpp" +#include "../strings/fwd.hpp" -# include "../io/line.hpp" +#include "../io/line.hpp" -# include "lexer.hpp" +#include "lexer.hpp" -# include "fwd.hpp" +#include "fwd.hpp" namespace tmwa @@ -84,5 +83,3 @@ namespace sexpr bool parse(Lexer& lex, SExpr& out); } // namespace sexpr } // namespace tmwa - -#endif // TMWA_SEXPR_PARSER_HPP |