diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..181703a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.x linguist-language=XLang +*.md linguist-language=Markdown \ No newline at end of file diff --git a/src/generation.hxx b/src/generation.hxx index 5b3e90e..f9f6ecb 100644 --- a/src/generation.hxx +++ b/src/generation.hxx @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include "parser.hxx" @@ -156,5 +156,5 @@ private: const node::Prog m_prog; std::stringstream m_output; size_t m_stack_size = 0; - std::unordered_map m_vars {}; + std::map m_vars {}; }; \ No newline at end of file