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.