forked from solstice/solstice
Division no longer becomes subtraction
This commit is contained in:
@@ -459,7 +459,7 @@ static inline ResultType(Nothing, charptr) parseDiv(SolsParser* parser) {
|
||||
}
|
||||
|
||||
// Create node
|
||||
ResultType(SolsNode, charptr) node = createSolsNode(SNT_OP_SUB);
|
||||
ResultType(SolsNode, charptr) node = createSolsNode(SNT_OP_DIV);
|
||||
if (node.error) return Error(Nothing, charptr, node.as.error);
|
||||
node.as.success.line = peek.as.success.line;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user