diff options
Diffstat (limited to 'rsc/source/parser/rscyacc.y')
-rw-r--r-- | rsc/source/parser/rscyacc.y | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y index 43272f2fc8c8..bf020892ed76 100644 --- a/rsc/source/parser/rscyacc.y +++ b/rsc/source/parser/rscyacc.y @@ -382,7 +382,7 @@ resource_definition { if( !pTC->aFileTab.NewDef( pFI->GetFileIndex(), rtl::OString( $3 ), - $4.GetLong(), ULONG_MAX ) ) + $4.GetLong() ) ) bError = true; } else if( $4.IsDefinition() ) @@ -397,7 +397,7 @@ resource_definition pExpr = new RscExpression( aExpType, '+', $4 ); if( !pTC->aFileTab.NewDef( pFI->GetFileIndex(), - rtl::OString( $3 ), pExpr, ULONG_MAX ) ) + rtl::OString( $3 ), pExpr ) ) { bError =true; } @@ -405,8 +405,7 @@ resource_definition else if( $4.IsExpression() ) { if( !pTC->aFileTab.NewDef( pFI->GetFileIndex(), - rtl::OString( $3 ), $4.aExp.pExp, - ULONG_MAX ) ) + rtl::OString( $3 ), $4.aExp.pExp ) ) { bError = true; } |