From 10034f38df3455ee63558afedfd05ab63f6f8d12 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Mon, 1 Dec 2014 00:29:49 +0100 Subject: [PATCH] Accept "supercazzora" as alternate spelling of "supercazzola". As mentioned in #2 --- Monicelli.lpp | 4 ++-- README.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Monicelli.lpp b/Monicelli.lpp index 14b5b73..b68d2e5 100644 --- a/Monicelli.lpp +++ b/Monicelli.lpp @@ -162,7 +162,7 @@ CHAR [a-zA-Z_] ":" { return token::COLON; } -"blinda la supercazzola" { +"blinda la supercazzo"("r"|"l")"a" { return token::FUNDECL; } "con" { @@ -171,7 +171,7 @@ CHAR [a-zA-Z_] "," { return token::COMMA; } -("b"|"p")"rematurata la supercazzola" { +("b"|"p")"rematurata la supercazzo"("r"|"l")"a" { return token::FUNCALL; } "o scherziamo"("?")? { diff --git a/README.md b/README.md index 36e1c1e..8c417bd 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,9 @@ where the `o tarapia tapioco` part is like the `default` block. Functions --------- +**Note**: the alternate spelling `supercazzora` might be used in place + of `supercazzola` wherever the latter appears. + ###Declaration A function is declared with the `blinda la supercazzola` statement: