Skip to content

Commit

Permalink
Add warning for external variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles O'Farrell committed Jul 31, 2009
1 parent 27a405f commit cc43279
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions NacaTrans/src/parser/Cobol/elements/CWorkingEntry.java
Expand Up @@ -367,6 +367,15 @@ else if (tokPic.GetKeyword() == CCobolKeywordList.BLANK)
m_BlankWhenValue = ReadTerminal() ;
}
}
else if (tokPic.GetKeyword() == CCobolKeywordList.IS)
{
bNext = false ;
if(GetNext().GetKeyword() == CCobolKeywordList.EXTERNAL)
{
Transcoder.logWarn(getLine(), "External variable not supported");
GetNext();
}
}
else if (tokPic.IsKeyword() && tokPic.GetKeyword()==CCobolKeywordList.OCCURS)
{
bNext = true ;
Expand Down

0 comments on commit cc43279

Please sign in to comment.