See ChangeLog 19990518-03:05
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
19990518-03:05 Ryszard Glab <rglab@imid.med.pl>
|
||||
|
||||
* source/compiler/harbour.l
|
||||
-corrected misspelled wCaseCounter
|
||||
|
||||
* include/hberrors.h
|
||||
-new errors definition added (it should be uploaded in previous
|
||||
commit -sorry my fault
|
||||
|
||||
19990518-01:45 Ryszard Glab <rglab@imid.med.pl>
|
||||
|
||||
* source/compiler/harbour.l, source/compiler/harbour.y
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
#define ERR_ENDDO 12
|
||||
#define ERR_ENDCASE 13
|
||||
#define ERR_NEXTFOR 14
|
||||
#define ERR_SYNTAX 15
|
||||
#define ERR_UNMATCHED_ELSE 15
|
||||
#define ERR_UNMATCHED_ELSEIF 16
|
||||
#define ERR_SYNTAX 17
|
||||
#define ERR_UNCLOSED_STRU 18
|
||||
|
||||
void GenError( int, char*, char * ); /* generic parsing error management function */
|
||||
|
||||
@@ -369,7 +369,7 @@ Separator {SpaceTab}|{Comment}|{LineCont}
|
||||
return ENDIF;
|
||||
}
|
||||
"endc"("ase"|"as"|"a")? { /* ENDCASE can be used in one context only */
|
||||
if( _wWhileCounter == 0 )
|
||||
if( _wCaseCounter == 0 )
|
||||
GenError( ERR_ENDCASE, NULL, NULL );
|
||||
return ENDCASE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user