diff options
author | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-06-19 18:19:20 +0900 |
---|---|---|
committer | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-06-19 18:19:20 +0900 |
commit | b93508b32c8f11bd468a885745338eab259bd2cd (patch) | |
tree | 2d35cbe8302edb3b9cfb4eb5dc32cf21ff69d575 /test/racc/assets/intp.y | |
parent | 754df262100cc5febda728111e134e0098bb05ac (diff) |
* remove trailing spaces, append newline at EOF.
Diffstat (limited to 'test/racc/assets/intp.y')
-rw-r--r-- | test/racc/assets/intp.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/racc/assets/intp.y b/test/racc/assets/intp.y index 24e547da61..39e42afd74 100644 --- a/test/racc/assets/intp.y +++ b/test/racc/assets/intp.y @@ -27,7 +27,7 @@ rule result.push val[1] } | stmt_list EOL - + stmt : expr | assign | IDENT realprim @@ -38,7 +38,7 @@ rule | if_stmt | while_stmt | defun - + if_stmt : IF stmt THEN EOL stmt_list else_stmt END { result = IfNode.new( @fname, val[0][0], @@ -261,7 +261,7 @@ module Intp class Core - def initialize + def initialize @ftab = {} @obj = Object.new @stack = [] @@ -318,7 +318,7 @@ module Intp def lvar?(name) @lvars.key? name end - + def [](key) @lvars[key] end |