File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ static long line;
82
82
static void expression (void );
83
83
static void error (void ) {
84
84
{
85
- (void )fprintf (stdout , "pl0c : error: " );
85
+ (void )fprintf (stdout , "\npl0c : error: " );
86
86
;
87
87
(void )fprintf (stdout , "%ld" , (long )(line ));
88
88
;
@@ -514,17 +514,6 @@ static void ident(void) {
514
514
;
515
515
};
516
516
};
517
- if (i >= 256 ) {
518
- {
519
- error ();
520
- ;
521
- (void )fprintf (stdout , "token too long\n" );
522
- ;
523
- exit (1 );
524
- ;
525
- ;
526
- };
527
- };
528
517
if (loop != 0 ) {
529
518
loc = loc + 1 ;
530
519
};
Original file line number Diff line number Diff line change @@ -486,13 +486,6 @@ begin
486
486
end;
487
487
end;
488
488
489
- if i >= 256 then
490
- begin
491
- call error;
492
- writeStr 'token too long\n';
493
- exit 1;
494
- end;
495
-
496
489
if loop # 0 then
497
490
loc := loc + 1;
498
491
end;
You can’t perform that action at this time.
0 commit comments