From 2537f702cc32ac317df7ca888de00e78017e3860 Mon Sep 17 00:00:00 2001 From: helly Date: Sat, 15 Apr 2006 19:32:33 +0000 Subject: [PATCH] - Update results --- lessons/001_upn_calculator/calc_006.s.c | 16 ++++++++-------- lessons/001_upn_calculator/calc_007.b.c | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lessons/001_upn_calculator/calc_006.s.c b/lessons/001_upn_calculator/calc_006.s.c index 8caece70..720c4cef 100755 --- a/lessons/001_upn_calculator/calc_006.s.c +++ b/lessons/001_upn_calculator/calc_006.s.c @@ -92,7 +92,7 @@ int scan(char *s, int l) yych = *YYCURSOR; goto yy21; yy3: -#line 108 "calc_006.s.re" +#line 114 "calc_006.s.re" { continue; } #line 98 "" yy4: @@ -100,7 +100,7 @@ yy4: if((yych = *YYCURSOR) <= '/') goto yy5; if(yych <= '9') goto yy17; yy5: -#line 110 "calc_006.s.re" +#line 116 "calc_006.s.re" { res = push_num(t, p, 10); continue; } #line 106 "" yy6: @@ -108,22 +108,22 @@ yy6: goto yy16; yy7: ++YYCURSOR; -#line 111 "calc_006.s.re" +#line 117 "calc_006.s.re" { res = stack_add(); continue; } #line 114 "" yy9: ++YYCURSOR; -#line 112 "calc_006.s.re" +#line 118 "calc_006.s.re" { res = stack_sub(); continue; } #line 119 "" yy11: ++YYCURSOR; -#line 113 "calc_006.s.re" +#line 119 "calc_006.s.re" { res = depth == 1 ? 0 : 2; continue; } #line 124 "" yy13: ++YYCURSOR; -#line 114 "calc_006.s.re" +#line 120 "calc_006.s.re" { res = 1; continue; } #line 129 "" yy15: @@ -139,7 +139,7 @@ yy17: if(yych <= '/') goto yy19; if(yych <= '9') goto yy17; yy19: -#line 109 "calc_006.s.re" +#line 115 "calc_006.s.re" { res = push_num(t, p, 8); continue; } #line 145 "" yy20: @@ -150,7 +150,7 @@ yy21: if(yych == ' ') goto yy20; goto yy3; } -#line 115 "calc_006.s.re" +#line 121 "calc_006.s.re" } return res; diff --git a/lessons/001_upn_calculator/calc_007.b.c b/lessons/001_upn_calculator/calc_007.b.c index 5bed9313..c3bd70f7 100755 --- a/lessons/001_upn_calculator/calc_007.b.c +++ b/lessons/001_upn_calculator/calc_007.b.c @@ -127,7 +127,7 @@ int scan(char *s, int l) yych = *YYCURSOR; goto yy21; yy3: -#line 108 "calc_007.b.re" +#line 79 "calc_007.b.re" { continue; } #line 133 "" yy4: @@ -135,7 +135,7 @@ yy4: if((yych = *YYCURSOR) <= '/') goto yy5; if(yych <= '9') goto yy17; yy5: -#line 110 "calc_007.b.re" +#line 81 "calc_007.b.re" { res = push_num(t, p, 10); continue; } #line 141 "" yy6: @@ -143,22 +143,22 @@ yy6: goto yy16; yy7: ++YYCURSOR; -#line 111 "calc_007.b.re" +#line 82 "calc_007.b.re" { res = stack_add(); continue; } #line 149 "" yy9: ++YYCURSOR; -#line 112 "calc_007.b.re" +#line 83 "calc_007.b.re" { res = stack_sub(); continue; } #line 154 "" yy11: ++YYCURSOR; -#line 113 "calc_007.b.re" +#line 84 "calc_007.b.re" { res = depth == 1 ? 0 : 2; continue; } #line 159 "" yy13: ++YYCURSOR; -#line 114 "calc_007.b.re" +#line 85 "calc_007.b.re" { res = 1; continue; } #line 164 "" yy15: @@ -175,7 +175,7 @@ yy17: if(yych <= '/') goto yy19; if(yych <= '9') goto yy17; yy19: -#line 109 "calc_007.b.re" +#line 80 "calc_007.b.re" { res = push_num(t, p, 8); continue; } #line 181 "" yy20: @@ -188,7 +188,7 @@ yy21: goto yy3; } } -#line 115 "calc_007.b.re" +#line 86 "calc_007.b.re" } return res; -- 2.50.1