summaryrefslogtreecommitdiff
path: root/src/formats/osml/OsmlStreamParser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats/osml/OsmlStreamParser.hpp')
-rw-r--r--src/formats/osml/OsmlStreamParser.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/formats/osml/OsmlStreamParser.hpp b/src/formats/osml/OsmlStreamParser.hpp
index 1fee90b..10d5296 100644
--- a/src/formats/osml/OsmlStreamParser.hpp
+++ b/src/formats/osml/OsmlStreamParser.hpp
@@ -69,11 +69,11 @@ public:
COMMAND_START = 0,
/**
- * State returned if a range command has just ended. This state is not
- * returned for non-range commands (as the actual end of a command is
- * context dependant).
+ * State returned if a range command or range annotation has just ended.
+ * This state is not returned for non-range commands (as the actual end
+ * of a command is context dependent).
*/
- COMMAND_END = 1,
+ RANGE_END = 1,
/**
* State returned if a new field started. The reader assures that the
@@ -185,7 +185,8 @@ public:
/**
* Returns true if the currently started command is a range command, only
- * valid if State::COMMAND_START was returned by the "parse" function.
+ * valid if State::COMMAND_START or State::ANNOTATION_START was returned by
+ * the "parse" function.
*
* @return true if the command is started is a range command, false
* otherwise.