From a4abc85405cd1385e2d0b5d359182752c7a595e2 Mon Sep 17 00:00:00 2001 From: helly Date: Mon, 17 Apr 2006 15:21:31 +0000 Subject: [PATCH] - Formatting update --- lessons/002_strip_comments/strip_003.b.c | 12 ++++++------ lessons/002_strip_comments/strip_003.b.re | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lessons/002_strip_comments/strip_003.b.c b/lessons/002_strip_comments/strip_003.b.c index 8de0bf30..21c7ff86 100755 --- a/lessons/002_strip_comments/strip_003.b.c +++ b/lessons/002_strip_comments/strip_003.b.c @@ -216,13 +216,13 @@ yy27: yy28: #line 134 "strip_003.b.re" { - if (!nlcomment) - { - echo(&s); + if (!nlcomment) + { + echo(&s); + } + nlcomment = 0; + continue; } - nlcomment = 0; - continue; - } #line 227 "" yy29: ++YYCURSOR; diff --git a/lessons/002_strip_comments/strip_003.b.re b/lessons/002_strip_comments/strip_003.b.re index 41db8f20..7b1f8748 100755 --- a/lessons/002_strip_comments/strip_003.b.re +++ b/lessons/002_strip_comments/strip_003.b.re @@ -132,13 +132,13 @@ commentws: /*!re2c NL? "/" "*" { goto comment; } NL { - if (!nlcomment) - { - echo(&s); + if (!nlcomment) + { + echo(&s); + } + nlcomment = 0; + continue; } - nlcomment = 0; - continue; - } WS { goto commentws; } ANY { echo(&s); nlcomment = 0; continue; } */ -- 2.50.1