author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月04日 11:47:11 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月04日 11:47:11 +0100 |
commit | 046c56f449db15b9c9aa113cb03adf695dd7b9b6 (patch) | |
tree | 0ae7650dcac74233784f50608b15fb54f2f52d0c /agg-plot/split-parser.h | |
parent | 3c1ad26e933233f6a7031b0b56c5b19ffb5ebf96 (diff) | |
download | gsl-shell-046c56f449db15b9c9aa113cb03adf695dd7b9b6.tar.gz |
-rw-r--r-- | agg-plot/split-parser.h | 18 |
diff --git a/agg-plot/split-parser.h b/agg-plot/split-parser.h index 7c13988b..dcf7dc20 100644 --- a/agg-plot/split-parser.h +++ b/agg-plot/split-parser.h @@ -20,21 +20,21 @@ public: lexer(const char *str) : m_content(str), m_ptr(m_content) {}; char next() - { + { char c = *m_ptr; if (c != '0円') m_ptr++; return c; }; - void push() - { - if (m_ptr > m_content) - m_ptr--; + void push() + { + if (m_ptr > m_content) + m_ptr--; }; - bool checknext(char reqchar) - { + bool checknext(char reqchar) + { char c = *m_ptr; if (c == reqchar) { @@ -49,7 +49,7 @@ public: static node_type* exprlist (lexer& lex, direction_e dir) { typedef tree::tree_node<base_type, direction_e> tree_type; - + tree_type *t = new tree_type(dir); for (int c = 0; ; c++) @@ -89,7 +89,7 @@ public: default: return 0; } - + return 0; } }; |