aboutsummaryrefslogtreecommitdiffstats
path: root/Grammar.pp
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-08-27 10:54:23 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-08-27 10:54:23 +0200
commita32f0068c5f7f88bc18a514b0624014a2288775a (patch)
tree5c34bef1167830e532cdd8cb34e82c61025e6488 /Grammar.pp
parent02d19479288df6188867bdc2eadfbd0a5562352c (diff)
downloadPraspel-a32f0068c5f7f88bc18a514b0624014a2288775a.zip
Praspel-a32f0068c5f7f88bc18a514b0624014a2288775a.tar.gz
Praspel-a32f0068c5f7f88bc18a514b0624014a2288775a.tar.bz2
Allow the use of `this` without anything else.
Diffstat (limited to 'Grammar.pp')
-rw-r--r--Grammar.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Grammar.pp b/Grammar.pp
index 05ab07a..077cc38 100644
--- a/Grammar.pp
+++ b/Grammar.pp
@@ -281,7 +281,7 @@ arrayaccess:
identifier:
<identifier>
- | ::this:: ::arrow:: <identifier> ( ::arrow:: <identifier> )* #this_identifier
+ | ::this:: ( ::arrow:: <identifier> ( ::arrow:: <identifier> )* )? #this_identifier
| (
::self:: #self_identifier
| ::static:: #static_identifier