aboutsummaryrefslogtreecommitdiff
path: root/src/include/open-axiom/InputFragment
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@axiomatics.org>2017-01-16 02:01:05 -0800
committerGabriel Dos Reis <gdr@axiomatics.org>2017-01-16 02:01:05 -0800
commit550b22dd50ec1a394d33f63dbf493dff46e3ccb7 (patch)
tree06aa62ad5c93699573639a9337ed3dbd6ab550af /src/include/open-axiom/InputFragment
parente82d62219c661a2594286e0f867354864514bd87 (diff)
downloadopen-axiom-550b22dd50ec1a394d33f63dbf493dff46e3ccb7.tar.gz
Decorate each input line with its kind.
Diffstat (limited to 'src/include/open-axiom/InputFragment')
-rw-r--r--src/include/open-axiom/InputFragment1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/open-axiom/InputFragment b/src/include/open-axiom/InputFragment
index 65f3dfc9..41661c67 100644
--- a/src/include/open-axiom/InputFragment
+++ b/src/include/open-axiom/InputFragment
@@ -44,6 +44,7 @@ namespace OpenAxiom {
struct Line : std::string {
LineNumber number { };
ColumnIndex indent { };
+ LineKind kind { LineKind::Ordinary };
std::string sub_string(ColumnIndex s, ColumnIndex e) const {
return substr(s, e - s);