From 0a932b3c3bd0d40fba398ad1c7248859e431bd22 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Sat, 29 Nov 2014 18:26:25 +0100 Subject: [PATCH] Add "delle" to the list of articles. --- Monicelli.lpp | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Monicelli.lpp b/Monicelli.lpp index 26b1100..5efc52f 100644 --- a/Monicelli.lpp +++ b/Monicelli.lpp @@ -85,7 +85,7 @@ CHAR [a-zA-Z_] "come "("se ")?"fosse" { return token::ASSIGN; } -("il"|"lo"|"la"|"l'"|"i"|"gli"|"le"|"un"|"un'"|"una"|"dei") { +("il"|"lo"|"la"|"l'"|"i"|"gli"|"le"|"un"|"un'"|"una"|"dei"|"delle") { return token::ARTICLE; } "piĆ¹" { diff --git a/README.md b/README.md index f157130..726e7f8 100644 --- a/README.md +++ b/README.md @@ -129,8 +129,8 @@ not start with a number (the usual rules, that's it). A variable might be prefixed with an article to fit a sentence. The compiler does not check concordance with the following name, but accepts any article of the Italian language: `il`, `lo`, `la`, `i`, `gli`, `le`, `un`, `una` -`dei`, `l'`, `un'`. For instance, `cappello` and `il cappello` refer to the -same variable. +`dei`, `delle`, `l'`, `un'`. For instance, `cappello` and `il cappello` refer +to the same variable. Consequently, the articles above cannot be used as variable names.