mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
print statement fix from Neil's comments
This commit is contained in:
@@ -226,7 +226,7 @@ Blockly.PHP['text_trim'] = function(block) {
|
||||
Blockly.PHP['text_print'] = function(block) {
|
||||
// Print statement.
|
||||
var argument0 = Blockly.PHP.valueToCode(block, 'TEXT',
|
||||
Blockly.PHP.ORDER_FUNCTION_CALL) || '\'\'';
|
||||
Blockly.PHP.ORDER_NONE) || '\'\'';
|
||||
return 'print(' + argument0 + ');\n';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user