summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3940_Regression/README
blob: 8802dc32f18cb471893fd1d74c7518d5cfe9e8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
This is a compile only test. If it compiles, it's passed.

tao_idl choked on the annotation syntax of IDL4 (and DDS-XTypes)
because that syntax was unknown to its IDL grammar:

  tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I../.. -Sa -St test.idl
  syntax error
  Error - tao_idl: "test.idl", line 3: Illegal syntax following module '{' opener
  make[1]: *** [testC.h] Error 1

The first patch for this bug adds a rule in the lexer to ignore the annotations
by consuming them without action.
Actual processing of annotations still has to be done.