aboutsummaryrefslogtreecommitdiff
path: root/MoonParser/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MoonParser/parser.cpp')
-rw-r--r--MoonParser/parser.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/MoonParser/parser.cpp b/MoonParser/parser.cpp
index 2378abe..03857c6 100644
--- a/MoonParser/parser.cpp
+++ b/MoonParser/parser.cpp
@@ -1143,10 +1143,8 @@ expr expr::operator !() const {
1143 @param e end position. 1143 @param e end position.
1144 */ 1144 */
1145input_range::input_range(const pos &b, const pos &e) : 1145input_range::input_range(const pos &b, const pos &e) :
1146 m_begin(b), 1146m_begin(b),
1147 m_end(e) 1147m_end(e) {}
1148{
1149}
1150 1148
1151 1149
1152/** constructor. 1150/** constructor.
@@ -1155,10 +1153,8 @@ input_range::input_range(const pos &b, const pos &e) :
1155 @param t error type. 1153 @param t error type.
1156 */ 1154 */
1157error::error(const pos &b, const pos &e, int t) : 1155error::error(const pos &b, const pos &e, int t) :
1158 input_range(b, e), 1156input_range(b, e),
1159 m_type(t) 1157m_type(t) {}
1160{
1161}
1162 1158
1163 1159
1164/** compare on begin position. 1160/** compare on begin position.