diff options
author | mongo <andmarti@gmail.com> | 2017-03-15 15:15:04 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2017-03-15 15:15:04 -0300 |
commit | 619ba573d83516a9d5355b042f64f4fc441a7e70 (patch) | |
tree | fc301f6cd5cf79eb77fd7c043109e3252034ab33 /src/gram.y | |
parent | 260187c69c3b74bfeec87ebd76098df1ab4ca926 (diff) |
removed tabs, and added white spaces
Diffstat (limited to 'src/gram.y')
-rw-r--r-- | src/gram.y | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -873,11 +873,11 @@ term: var { $$ = new_var(O_VAR, $1); } { $$ = new(STINDEX, new_range(REDUCE | STINDEX, $4), new(',', $6, $8)); } | '@' K_EXT '(' e ',' e ')' { $$ = new(EXT, $4, $6); } - | '@' K_LUA '(' e ',' e ')' { - #ifdef XLUA - $$ = new(LUA, $4, $6); - #endif - } + | '@' K_LUA '(' e ',' e ')' { + #ifdef XLUA + $$ = new(LUA, $4, $6); + #endif + } | '@' K_NVAL '(' e ',' e ')' { $$ = new(NVAL, $4, $6); } | '@' K_SVAL '(' e ',' e ')' { $$ = new(SVAL, $4, $6); } | '@' K_REPLACE '(' e ',' e ',' e ')' @@ -1010,10 +1010,10 @@ setitem : | K_DEBUG '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "debug=0"); else parse_str(user_conf_d, "debug=1"); } | K_NODEBUG { parse_str(user_conf_d, "debug=0"); } - | K_TRG { parse_str(user_conf_d, "trigger=1"); } - | K_TRG '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "trigger=0"); + | K_TRG { parse_str(user_conf_d, "trigger=1"); } + | K_TRG '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "trigger=0"); else parse_str(user_conf_d, "trigger=1"); } - | K_NOTRG { parse_str(user_conf_d, "trigger=0"); } + | K_NOTRG { parse_str(user_conf_d, "trigger=0"); } | K_EXTERNAL_FUNCTIONS { parse_str(user_conf_d, "external_functions=1"); } | K_EXTERNAL_FUNCTIONS '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "external_functions=0"); else parse_str(user_conf_d, "external_functions=1"); } |