Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30 closed defect (fixed)

Parse Error in openEHR-EHR-CLUSTER.exam-chest.v1.adl:67

Reported by: KOBAYASHI, Shinji Owned by: KOBAYASHI, Shinji
Priority: major Milestone: Ruby implementation release 0.1
Component: ruby Version: 0.0
Keywords: Cc:

Description

Exception Racc::!ParseError' at lib/!parser.y:1899 - !openEHR-EHR-CLUSTER.exam-chest.v1.adl:67: Inline syntax error on :Comma_code[[BR]]Exception Test::Unit::AssertionFailedError' at /usr/local/lib/ruby/1.8/test/unit/assertions.rb:48 - Exception raised:
Class: <Racc::!ParseError>
Message: <"openEHR-EHR-CLUSTER.exam-chest.v1.adl:67: Inline syntax error on :Comma_code">
---Backtrace---
lib/parser.y:1899:in on_error'[[BR]]lib/!parser.y:66:in _racc_yyparse_c'
lib/parser.y:1201:in scan'[[BR]]lib/!parser.y:1378:in scan_adl'
lib/parser.y:1759:in scan_dadl'[[BR]]lib/!parser.y:1378:in scan_adl'
lib/parser.y:1759:in scan_dadl'[[BR]]lib/!parser.y:1378:in scan_adl'
lib/parser.y:1759:in scan_dadl'[[BR]]lib/!parser.y:1378:in scan_adl'
lib/parser.y:1759:in scan_dadl'[[BR]]lib/!parser.y:1378:in scan_adl'
lib/parser.y:1759:in scan_dadl'[[BR]]lib/!parser.y:1383:in scan_adl'
lib/parser.y:1601:in scan_cadl'[[BR]]lib/!parser.y:1876:in scan_term_constraint'
lib/parser.y:1475:in scan_cadl'[[BR]]lib/!parser.y:1875:in scan_term_constraint'
lib/parser.y:1600:in scan_cadl'[[BR]]lib/!parser.y:1382:in scan_adl'
lib/parser.y:1758:in scan_dadl'[[BR]]lib/!parser.y:1377:in scan_adl'
lib/parser.y:1758:in scan_dadl'[[BR]]lF[[BR]]Finished in 746.786127 seconds.[[BR]][[BR]] 1) Failure:[[BR]]test_parse(ADL!ParserTest) ![./tests/parser_test.rb:79]:[[BR]]Exception raised:[[BR]]Class: <Racc::!ParseError>[[BR]]Message: <"!openEHR-EHR-CLUSTER.exam-chest.v1.adl:67: Inline syntax error on :Comma_code">[[BR]]---Backtrace---[[BR]]lib/!parser.y:1899:in on_error'
lib/parser.y:66:in _racc_yyparse_c'[[BR]]lib/!parser.y:1201:in scan'
lib/parser.y:1378:in scan_adl'[[BR]]lib/!parser.y:1759:in scan_dadl'
lib/parser.y:1378:in scan_adl'[[BR]]lib/!parser.y:1759:in scan_dadl'
lib/parser.y:1378:in scan_adl'[[BR]]lib/!parser.y:1759:in scan_dadl'
lib/parser.y:1378:in scan_adl'[[BR]]lib/!parser.y:1759:in scan_dadl'
lib/parser.y:1378:in scan_adl'[[BR]]lib/!parser.y:1759:in scan_dadl'
lib/parser.y:1383:in scan_adl'[[BR]]lib/!parser.y:1601:in scan_cadl'
lib/parser.y:1876:in scan_term_constraint'[[BR]]lib/!parser.y:1475:in scan_cadl'
lib/parser.y:1875:in scan_term_constraint'[[BR]]lib/!parser.y:1600:in scan_cadl'
lib/parser.y:1382:in scan_adl'[[BR]]lib/!parser.y:1758:in scan_dadl'
lib/parser.y:1377:in scan_adl'[[BR]]lib/!parser.y:1758:in scan_dadl'
lib/parser.y:1377:in scan_adl'[[BR]]lib/!parser.y:1758:in scan_dadl'
lib/parser.y:1377:in scan_adl'[[BR]]lib/!parser.y:1758:in scan_dadl'
lib/parser.y:1377:in scan_adl'[[BR]]lib/!parser.y:1758:in scan_dadl'
lib/parser.y:1377:in scan_adl'[[BR]]lib/!parser.y:1200:in scan'
/usr/local/lib/ruby/1.8/racc/parser.rb:152:in _racc_yyparse_c'[[BR]]/usr/local/lib/ruby/1.8/racc/!parser.rb:152:in __send__'
/usr/local/lib/ruby/1.8/racc/parser.rb:152:in yyparse'[[BR]]lib/!parser.y:1895:in parse'
./tests/parser_test.rb:80:in test_parse'[[BR]]./tests/!parser_test.rb:79:in test_parse'
---------------


Change History (2)

comment:1 by Tatsukawa, Akimichi, 13 years ago

Component: docruby
Resolution: fixed
Status: newclosed
Type: defectneed peer-review

Fixed Rakefile in which the adl_parser requires yaparc vesion 0.2.2 to resolve case sentitivity of ADL reserved words.

comment:2 by KOBAYASHI, Shinji, 13 years ago

Type: need peer-reviewdefect
Note: See TracTickets for help on using tickets.