diff options
author | Hans Bolinder <[email protected]> | 2010-08-24 14:34:02 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2010-08-24 14:34:02 +0200 |
commit | 55c3cea012f5a79248e7ac5e5ae307f6063ab3af (patch) | |
tree | f4097a87852e298496326caad2259ba3a6f70ba7 /lib/parsetools/test | |
parent | eebbcdb88ab889ac8422c8eacc1f689dcf5f7266 (diff) | |
parent | 859c720d1c71654be14349fd8aba7cb8454c5679 (diff) | |
download | otp-55c3cea012f5a79248e7ac5e5ae307f6063ab3af.tar.gz otp-55c3cea012f5a79248e7ac5e5ae307f6063ab3af.tar.bz2 otp-55c3cea012f5a79248e7ac5e5ae307f6063ab3af.zip |
Merge branch 'hb/parsetools/native_compiled_yecc_parsers/OTP-8771' into dev
* hb/parsetools/native_compiled_yecc_parsers/OTP-8771:
Fix a problem with HiPE-compiled Yecc parsers
Diffstat (limited to 'lib/parsetools/test')
-rw-r--r-- | lib/parsetools/test/yecc_SUITE.erl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/parsetools/test/yecc_SUITE.erl b/lib/parsetools/test/yecc_SUITE.erl index 61e2456323..93949a074a 100644 --- a/lib/parsetools/test/yecc_SUITE.erl +++ b/lib/parsetools/test/yecc_SUITE.erl @@ -298,8 +298,8 @@ syntax(Config) when is_list(Config) -> {_,[{L1,_,{undefined_function,{yeccpars2_2_,1}}}, {L2,_,{bad_inline,{yeccpars2_2_,1}}}]}], []} = compile:file(Parserfile1, [basic_validation,return]), - ?line L1 = 24 + SzYeccPre, - ?line L2 = 31 + SzYeccPre + ?line L1 = 28 + SzYeccPre, + ?line L2 = 35 + SzYeccPre end(), %% Bad macro in action. OTP-7224. @@ -316,8 +316,8 @@ syntax(Config) when is_list(Config) -> {_,[{L1,_,{undefined_function,{yeccpars2_2_,1}}}, {L2,_,{bad_inline,{yeccpars2_2_,1}}}]}], []} = compile:file(Parserfile1, [basic_validation,return]), - ?line L1 = 24 + SzYeccPre, - ?line L2 = 31 + SzYeccPre + ?line L1 = 28 + SzYeccPre, + ?line L2 = 35 + SzYeccPre end(), %% Check line numbers. OTP-7224. @@ -1584,8 +1584,8 @@ otp_7292(Config) when is_list(Config) -> {L2,_,{bad_inline,{yeccpars2_2_,1}}}]}], [{_,[{16,_,{unused_function,{foo,0}}}]}]} = compile:file(Parserfile1, [basic_validation, return]), - ?line L1 = 34 + SzYeccPre, - ?line L2 = 41 + SzYeccPre + ?line L1 = 38 + SzYeccPre, + ?line L2 = 45 + SzYeccPre end(), YeccPre = filename:join(Dir, "yeccpre.hrl"), @@ -1602,8 +1602,8 @@ otp_7292(Config) when is_list(Config) -> {L2,_,{bad_inline,{yeccpars2_2_,1}}}]}], [{_,[{16,_,{unused_function,{foo,0}}}]}]} = compile:file(Parserfile1, [basic_validation, return]), - ?line L1 = 33 + SzYeccPre, - ?line L2 = 40 + SzYeccPre + ?line L1 = 37 + SzYeccPre, + ?line L2 = 44 + SzYeccPre end(), file:delete(YeccPre), |