summaryrefslogtreecommitdiff
path: root/compiler/pdecl.pas
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2005-06-19 17:42:10 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2005-06-19 17:42:10 +0000
commit288802d8a842ce09987b82d798d487ea7c00d65b (patch)
treec5118e0c489ce96ea1d38b1af72c33ab0aa451f1 /compiler/pdecl.pas
parent1816dec185d639ae3e9fe2d86accba1a24fa388e (diff)
downloadfpc-288802d8a842ce09987b82d798d487ea7c00d65b.tar.gz
* node optimizer branch merged
* gotonode and gotolabel refactored * -Nu added to enable for loop unrolling git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@446 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/pdecl.pas')
-rw-r--r--compiler/pdecl.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/pdecl.pas b/compiler/pdecl.pas
index 75229b5872..ca11e118a4 100644
--- a/compiler/pdecl.pas
+++ b/compiler/pdecl.pas
@@ -250,11 +250,10 @@ implementation
consume(_ID)
else
begin
- objectlibrary.getlabel(hl);
if token=_ID then
- symtablestack.insert(tlabelsym.create(orgpattern,hl))
+ symtablestack.insert(tlabelsym.create(orgpattern))
else
- symtablestack.insert(tlabelsym.create(pattern,hl));
+ symtablestack.insert(tlabelsym.create(pattern));
consume(token);
end;
if token<>_SEMICOLON then consume(_COMMA);