aboutsummaryrefslogtreecommitdiffstats
path: root/Grammar.pp
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-10 15:38:53 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-10 15:38:53 +0100
commit09b88c57d1b5b02973a3c23f3096924679b5c7a6 (patch)
tree5561e9d77860bdec2993de038b1537158bddbf69 /Grammar.pp
parent31d2496e677ef15956093e87b05ac3e9401ac716 (diff)
downloadPraspel-09b88c57d1b5b02973a3c23f3096924679b5c7a6.zip
Praspel-09b88c57d1b5b02973a3c23f3096924679b5c7a6.tar.gz
Praspel-09b88c57d1b5b02973a3c23f3096924679b5c7a6.tar.bz2
New `this` support.
We no longer have a `#this_identifier` node, but a more generic one: `#dynamic_resolution` (the root can be anything).
Diffstat (limited to 'Grammar.pp')
-rw-r--r--Grammar.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Grammar.pp b/Grammar.pp
index e2f7604..29d5483 100644
--- a/Grammar.pp
+++ b/Grammar.pp
@@ -276,8 +276,8 @@ arrayaccess:
)?
identifier:
- <identifier>
- | ::this:: ( ::arrow:: <identifier> ( ::arrow:: <identifier> )* )? #this_identifier
+ ( <identifier> | <this> )
+ ( ::arrow:: <identifier> ( ::arrow:: <identifier> )* )? #dynamic_resolution
| (
::self:: #self_identifier
| ::static:: #static_identifier