Accept "prematura" as alternate spelling of "brematura".

Solves #2.
This commit is contained in:
Stefano Sanfilippo 2014-11-29 18:30:04 +01:00
parent 0a932b3c3b
commit 75b5d6c40b
2 changed files with 4 additions and 2 deletions

View File

@ -139,7 +139,7 @@ CHAR [a-zA-Z_]
"stuzzica" {
return token::LOOP_BEGIN;
}
"e brematura anche, se" {
"e "("b"|"p")"rematura anche, se" {
return token::LOOP_CONDITION;
}
"che cos'è" {
@ -166,7 +166,7 @@ CHAR [a-zA-Z_]
"," {
return token::COMMA;
}
"brematurata la supercazzola" {
("b"|"p")"rematurata la supercazzola" {
return token::FUNCALL;
}
"o scherziamo"("?")? {

View File

@ -205,6 +205,8 @@ maps to:
antani = antani - 1;
} while (antani > 0);
`brematura` might be replaced by its alternate form `prematura`
Branch
------