Black-masked protesters throwing petrol bombs created a wall of fire on Sunday outside Greece's parliament as lawmakers inside looked set defy public rage by endorsing a new austerity deal to secure an EU/IMF bailout and avoid national bankruptcy.

A
A make-shift devise explodes by riot police during an anti-austerity demonstration in Athens' Syntagma (Constitution) Square February 12, 2012.

Lawmakers came under intense pressure from both sides, with tens of thousands of demonstrators pouring into Syntagma Square in front of parliament, while the government warned that rejection would demand unimaginably harsher sacrifices by Greeks.

In running battles, protesters threw home made bombs made from gas canisters as riot police advanced across the square on the crowds, firing tear gas and stun grenades. Loud booms From the protests could be heard inside parliament.

Tear gas has reached the parliament chamber, said leftist lawmaker Panagiotis Lafazanis.

After days of dire warnings and threats of rebellion, parliament began debating a bill setting out 3.3 billion euros in wage, pension and job cuts this year alone, to secure funds Greece needs to avoid bankruptcy next month.

Finance Minister Evangelos Venizelos told parliament that Greece had no easy way out and the alternative to the international bailout - bankruptcy and a departure from the euro zone - would be far worse for Greeks.

The choice is not between sacrifice and no sacrifices at all, but between sacrifices and unimaginably harsher ones, he told a stormy debate expected to run well into the night.

One small party has already pulled out of the coalition of Prime Minister Lucas Papademos in protest against the terms of the 130-billion-euro rescue package from the European Union and International Monetary Fund - Greece's second since 2010.

A number of lawmakers from the two biggest government parties, socialist PASOK and conservative New Democracy, have also threatened to rebel but their numbers did not appear to be enough to sink the bill.

Greece needs the international funds before March 20 to meet debt repayments of 14.5 billion euros, or suffer a chaotic default which could shake the entire euro zone.

GREEKS HAVE RISEN!

But many Greeks believe their living standards are collapsing already and the new measures, which include a 22 percent cut in the minimum wage, will deepen their torment.

Enough is enough! said 89-year-old Manolis Glezos, one of Greece's most famous leftists. They have no idea what an uprising by the Greek people means. And the Greek people, regardless of ideology, have risen.

Glezos is a national hero for sneaking up the Acropolis at night in 1941 and tearing down a Nazi flag from under the noses of the German occupiers, raising the morale of Athens residents.

These measures of annihilation will not pass, Glezos said on Syntagma Square, visibly overcome by teargas and holding a mask over his mouth.

As is usual in Greek protests, only a small fraction of the crowd fought the police but one group started a fire right in front of a tent where first aid workers were preparing to care for the injured. Cops, pigs, murderers! chanted the crowd.

Police said 14 injured protesters were taken to hospital - including one who was hit in the stomach by a flare - and at least 50 were treated at the scene for breathing problems caused by the tear gas. At least eight police were also injured.

Inside parliament, Venizelos said Greece's future in the European mainstream was at stake.

Anyone who wants to remain in the euro and in the euro zone must abide by some rules, he said. The law must be passed by midnight because come Monday morning, the banking and financial markets must have got the message that Greece can and wants to survive.

SHRINKING REBELLION?

According to lawmakers from both the Socialist and the conservative party, some deputies who had threatened over the past two days to reject the law have changed their stance.

The number of dissenters looks shrinking rather than growing, one deputy told Reuters. Another said: The situation is too delicate - nobody can really be sure until the beans are counted.

A deputy minister who declined to be named said he expected more than 200 lawmakers in the 300-seat parliament to approve the law.

The bill has caused turmoil within the ruling coalition and deepened a social crisis among Greeks already hit by a round of cuts and tax hikes to ease the country's huge debt burden.

During the debate a Communist Party deputy hurled the pages of the bill on the floor of the chamber and in fiery exchanges with lawmakers, Venizelos warned them: If the law is not passed, the country will go bankrupt.

A BOTTOMLESS PIT

Euro zone paymaster Germany ratcheted up the pressure on Sunday, saying Europe needed action, not words from Greece.

The EU and IMF say they have had enough of broken promises and that the funds will be released only with the clear commitment of Greek political leaders that they will implement the reforms whoever wins an election potentially in April.

The promises from Greece aren't enough for us any more, German Finance Minister Wolfgang Schaeuble said in an interview published on Sunday in Welt am Sonntag newspaper.

German opinion polls show a majority of Germans are willing to help, Schaeuble said, but it's important to say that it cannot be a bottomless pit ... At least people are now starting to realise it won't work with a bottomless pit.

Greece needs to do its own homework to become competitive - whether that happens in conjunction with a new rescue programme or by another route that we actually don't want to take...

When asked if that other route meant Greece quitting the euro zone, Schaeuble said: That is all in the hands of the Greeks themselves. But even in the event (Greece leaves the euro zone), which almost no one assumes will happen, they will still remain part of Europe.

The austerity measures include 300 million euros in pension cuts and cutting the minimum wage from about 750 euros a month. The bill aims to cut Greece's bloated state sector workforce by about 150,000 people by 2015.

It also provides for a bond swap to ease Greece's debt burden by cutting the real value of private-sector investors' bond holdings by some 70 percent. Greece will miss a February 17 deadline to offer a debt haircut to private bondholders if the vote is not passed on Sunday.