diff --git a/Monicelli.lpp b/Monicelli.lpp index bb67002..3b46f1f 100644 --- a/Monicelli.lpp +++ b/Monicelli.lpp @@ -23,8 +23,6 @@ #include -static void meta(const char *); - using namespace monicelli; typedef Parser::token token; @@ -49,11 +47,7 @@ CHAR [a-zA-Z_] %% -"#"[^\n]* { - meta(yytext + 1); -} - -"bituma"[^\n]* {} +("#"|"bituma")[^\n]* {} "Lei ha clacsonato" { return token::MAIN; @@ -214,10 +208,3 @@ CHAR [a-zA-Z_] %% -void meta(const char *text) { - while (*text != '\0' && *text == ' ') { - text += 1; - } - std::cerr << "META: " << text << std::endl; -} - diff --git a/README.md b/README.md index 7bc5d1e..76ff2b9 100644 --- a/README.md +++ b/README.md @@ -400,8 +400,6 @@ a long "supercazzola". Also, ordinary comments can and should be used in an improper way to fill the sentence, meta comments provide a mechanism for distiguishing "real" comments. -In addition to that, meta comments are printed to `stderr` during compilation. - Reserved words and phrases ------------------------