ChangeLog 2000-08-10 17:33 UTC+0100
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-08-10 17:33 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
|
||||
|
||||
*source/compiler/harbour.l
|
||||
* fixed DO DECLARE syntax
|
||||
|
||||
2000-08-10 11:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
|
||||
|
||||
*source/compiler/harbour.l
|
||||
|
||||
@@ -359,8 +359,14 @@ Separator {SpaceTab}
|
||||
%}
|
||||
|
||||
"decl"|"decla"|"declar"|"declare" {
|
||||
BEGIN DECLARE_;
|
||||
yylval.string = hb_compIdentifierNew( hb_strupr( yytext ), TRUE );
|
||||
if( hb_comp_iState == DO )
|
||||
{
|
||||
hb_comp_iState = IDENTIFIER;
|
||||
return IDENTIFIER;
|
||||
}
|
||||
else
|
||||
BEGIN DECLARE_;
|
||||
}
|
||||
<DECLARE_>{Separator}+[_a-zA-Z] { /* an Identifier after DECLARE */
|
||||
unput( yytext[ yyleng-1 ] );
|
||||
@@ -403,9 +409,9 @@ Separator {SpaceTab}
|
||||
/* ************************************************************************ */
|
||||
%}
|
||||
"opti"|"optio"|"option"|"optiona"|"optional" {
|
||||
yylval.string = hb_compIdentifierNew( hb_strupr( yytext ), TRUE );
|
||||
return OPTIONAL;
|
||||
}
|
||||
yylval.string = hb_compIdentifierNew( hb_strupr( yytext ), TRUE );
|
||||
return OPTIONAL;
|
||||
}
|
||||
%{
|
||||
/* ************************************************************************ */
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user