Add "delle" to the list of articles.
This commit is contained in:
parent
46c7c99967
commit
0a932b3c3b
|
@ -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ù" {
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Reference in New Issue
Block a user