summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-24 07:50:46 -0600
committerMike Buland <mike@xagasoft.com>2013-04-24 07:50:46 -0600
commit3a9f622e1588308e8c514ee2c834eebc0ce78711 (patch)
treeb480aba68ba4046539b8c3d80d5d0c1d8f8b69f1 /src
parent4bd16214f0c6d2b4079b01d68b7e36ad408406d4 (diff)
downloadclic-3a9f622e1588308e8c514ee2c834eebc0ce78711.tar.gz
clic-3a9f622e1588308e8c514ee2c834eebc0ce78711.tar.bz2
clic-3a9f622e1588308e8c514ee2c834eebc0ce78711.tar.xz
clic-3a9f622e1588308e8c514ee2c834eebc0ce78711.zip
Fixed order of operations bug.
Diffstat (limited to 'src')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index df9e869..804e595 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -153,7 +153,7 @@ void Parser::parse()
153 153
154 default: 154 default:
155 if( tsNonTerminal.getSize() == 0 || 155 if( tsNonTerminal.getSize() == 0 ||
156 getPriority( tsNonTerminal.peek().eType ) <= 156 getPriority( tsNonTerminal.peek().eType ) <
157 getPriority( t.eType ) ) 157 getPriority( t.eType ) )
158 { 158 {
159// Bu::println("Pushing non-terminal: %1").arg( t.eType ); 159// Bu::println("Pushing non-terminal: %1").arg( t.eType );