btcs

bitcoin script parser/evaluator/compiler/decompiler
git clone git://jb55.com/btcs
Log | Files | Refs | README | LICENSE

commit 96e66d71152a1e798a52c0a9d50b5c5ff4116fe5
parent 3ce6229b04b88385068ae423e4c9b816c00ca78d
Author: William Casarin <jb55@jb55.com>
Date:   Mon,  4 Dec 2017 14:36:42 -0800

ocd

Diffstat:
Mparser.y | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/parser.y b/parser.y @@ -43,12 +43,12 @@ script: ; line: T_NEWLINE - | T_INT { script_push_int(&g_reader_stack, $1); } - | T_VAL { stack_push_val(&g_reader_stack, $1); } - | T_OP { stack_push_op(&g_reader_stack, $1); } - | T_DATA { script_push_datastr(&g_reader_stack, $1); } - | T_STR { script_push_str(&g_reader_stack, $1); } - | T_ERR { parse_error($1); } + | T_INT { script_push_int(&g_reader_stack, $1); } + | T_VAL { stack_push_val(&g_reader_stack, $1); } + | T_OP { stack_push_op(&g_reader_stack, $1); } + | T_DATA { script_push_datastr(&g_reader_stack, $1); } + | T_STR { script_push_str(&g_reader_stack, $1); } + | T_ERR { parse_error($1); } | T_EXAMPLE { ; }