summaryrefslogtreecommitdiff
path: root/src/coord.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-08-06 09:05:50 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-08-06 09:05:50 +0100
commitf73e89a716db7f71382f3716d2141c170a57ca2e (patch)
treef0e080deaea48e2589c26ec32d1507a0de4b72a5 /src/coord.hh
parentf1a93a0e613e46121039f8aa1415bb8f02946cf9 (diff)
Add information of types of options
Diffstat (limited to 'src/coord.hh')
-rw-r--r--src/coord.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coord.hh b/src/coord.hh
index 252496d1..2a55695a 100644
--- a/src/coord.hh
+++ b/src/coord.hh
@@ -103,6 +103,8 @@ struct CharCoord : LineAndColumn<CharCoord, LineCount, CharCount>
[[gnu::always_inline]]
constexpr CharCoord(LineCount line = 0, CharCount column = 0)
: LineAndColumn(line, column) {}
+
+ static constexpr const char* option_type_name = "coord";
};
struct ByteCoordAndTarget : ByteCoord