aboutsummaryrefslogtreecommitdiffstats
path: root/src/constrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/constrain.cpp')
-rw-r--r--src/constrain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/constrain.cpp b/src/constrain.cpp
index 94a27c3..969e87d 100644
--- a/src/constrain.cpp
+++ b/src/constrain.cpp
@@ -40,6 +40,12 @@ AString::constrain(TEnv& tenv, Constraints& c) const throw(Error)
}
void
+ALexeme::constrain(TEnv& tenv, Constraints& c) const throw(Error)
+{
+ c.constrain(tenv, this, tenv.named("Lexeme"));
+}
+
+void
ASymbol::constrain(TEnv& tenv, Constraints& c) const throw(Error)
{
const AType** ref = tenv.ref(this);