X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gesamt_arm64%2Fscanner.lex;h=7d60d353caa01c7f6f80db84ed153de1a954e572;hb=b133cf25e9c4bf3266dcd0a5024fb815d29f3cfe;hp=92f6df7a82a53fcd24edd60ae6b80e54f8073f58;hpb=30fddf13814e2f0b621aae4d3ec0453abfb7e46e;p=uebersetzerbau-ss10.git diff --git a/gesamt_arm64/scanner.lex b/gesamt_arm64/scanner.lex index 92f6df7..7d60d35 100644 --- a/gesamt_arm64/scanner.lex +++ b/gesamt_arm64/scanner.lex @@ -13,17 +13,13 @@ COMMENT_END \*\/ %x COMMENT %option yylineno +%option noyywrap %% {COMMENT_START} BEGIN(COMMENT); {COMMENT_END} BEGIN(INITIAL); -<> { - fprintf(stderr, "Kommentar nicht geschlossen\n"); - exit(1); -} - (.|\n) /* alles im kommentar wird ignoriert */ struct return(STRUCT);