aboutsummaryrefslogtreecommitdiff
path: root/nomnom/ast.nom
diff options
context:
space:
mode:
Diffstat (limited to 'nomnom/ast.nom')
-rw-r--r--nomnom/ast.nom5
1 files changed, 5 insertions, 0 deletions
diff --git a/nomnom/ast.nom b/nomnom/ast.nom
index 377f4ae..816554c 100644
--- a/nomnom/ast.nom
+++ b/nomnom/ast.nom
@@ -64,6 +64,11 @@ object (Syntax Tree):
%replacement.%k = %r
unless %changes: return %me
return (Syntax Tree %replacement)
+
+ my action [with %overrides]:
+ %new = (%k = %v for %k = %v in %me)
+ for %k = %v in %overrides: %new.%k = %v
+ return (Syntax Tree %new)
my action [== %other]:
unless (..)