Skip to content

Commit ba2f536

Browse files
committed
Bump version
1 parent e730f8f commit ba2f536

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

ext/racc/com/headius/racc/Cparse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import org.jruby.runtime.load.Library;
4747

4848
public class Cparse implements Library {
49-
public static final String RACC_VERSION = "1.4.14"; // TODO: parse from Cparse.c
49+
public static final String RACC_VERSION = "1.4.15"; // TODO: parse from Cparse.c
5050

5151
public enum TokenType {
5252
DEFAULT(-1),

ext/racc/cparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Important Constants
1818
----------------------------------------------------------------------- */
1919

20-
#define RACC_VERSION "1.4.14"
20+
#define RACC_VERSION "1.4.15"
2121

2222
#define DEFAULT_TOKEN -1
2323
#define ERROR_TOKEN 1

lib/racc/info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111

1212
module Racc
13-
VERSION = '1.4.14'
13+
VERSION = '1.4.15'
1414
Version = VERSION
1515
Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
1616
end

test/helper.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,16 @@ def assert_exec(asset)
7272
end
7373
end
7474

75+
def strip_version(source)
76+
source.sub(/This file is automatically generated by Racc \d+\.\d+\.\d+/, '')
77+
end
78+
7579
def assert_output_unchanged(asset)
7680
file = File.basename(asset, '.y')
7781

7882
expected = File.read("#{REGRESS_DIR}/#{file}")
7983
actual = File.read("#{TAB_DIR}/#{file}")
80-
result = (expected == actual)
84+
result = (strip_version(expected) == strip_version(actual))
8185

8286
assert(result, "Output of test/assets/#{file}.y differed from " \
8387
"expectation. Try compiling it and diff with test/regress/#{file}.")

0 commit comments

Comments
 (0)