7a9389330e
gcc/: * gcc.c (default_compilers): Add entry for ".go". * common.opt: Add -static-libgo as a driver option. * doc/install.texi (Configuration): Mention libgo as an option for --enable-shared. Mention go as an option for --enable-languages. * doc/invoke.texi (Overall Options): Mention .go as a file name suffix. Mention go as a -x option. * doc/frontends.texi (G++ and GCC): Mention Go as a supported language. * doc/sourcebuild.texi (Top Level): Mention libgo. * doc/standards.texi (Standards): Add section on Go language. Move references for other languages into their own section. * doc/contrib.texi (Contributors): Mention that I contributed the Go frontend. gcc/testsuite/: * lib/go.exp: New file. * lib/go-dg.exp: New file. * lib/go-torture.exp: New file. * lib/target-supports.exp (check_compile): Match // Go. From-SVN: r167407
149 lines
3.3 KiB
Plaintext
149 lines
3.3 KiB
Plaintext
#data
|
|
<div>
|
|
<div></div>
|
|
</span>x
|
|
#errors
|
|
Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
|
|
Line: 3 Col: 7 Unexpected end tag (span). Ignored.
|
|
Line: 3 Col: 8 Expected closing tag. Unexpected end of file.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <div>
|
|
| "
|
|
"
|
|
| <div>
|
|
| "
|
|
x"
|
|
|
|
#data
|
|
<div>x<div></div>
|
|
</span>x
|
|
#errors
|
|
Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
|
|
Line: 2 Col: 7 Unexpected end tag (span). Ignored.
|
|
Line: 2 Col: 8 Expected closing tag. Unexpected end of file.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <div>
|
|
| "x"
|
|
| <div>
|
|
| "
|
|
x"
|
|
|
|
#data
|
|
<div>x<div></div>x</span>x
|
|
#errors
|
|
Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
|
|
Line: 1 Col: 25 Unexpected end tag (span). Ignored.
|
|
Line: 1 Col: 26 Expected closing tag. Unexpected end of file.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <div>
|
|
| "x"
|
|
| <div>
|
|
| "xx"
|
|
|
|
#data
|
|
<div>x<div></div>y</span>z
|
|
#errors
|
|
Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
|
|
Line: 1 Col: 25 Unexpected end tag (span). Ignored.
|
|
Line: 1 Col: 26 Expected closing tag. Unexpected end of file.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <div>
|
|
| "x"
|
|
| <div>
|
|
| "yz"
|
|
|
|
#data
|
|
<table><div>x<div></div>x</span>x
|
|
#errors
|
|
Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
|
|
Line: 1 Col: 12 Unexpected start tag (div) in table context caused voodoo mode.
|
|
Line: 1 Col: 18 Unexpected start tag (div) in table context caused voodoo mode.
|
|
Line: 1 Col: 24 Unexpected end tag (div) in table context caused voodoo mode.
|
|
Line: 1 Col: 32 Unexpected end tag (span) in table context caused voodoo mode.
|
|
Line: 1 Col: 32 Unexpected end tag (span). Ignored.
|
|
Line: 1 Col: 33 Unexpected end of file. Expected table content.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <div>
|
|
| "x"
|
|
| <div>
|
|
| "xx"
|
|
| <table>
|
|
|
|
#data
|
|
x<table>x
|
|
#errors
|
|
Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE.
|
|
Line: 1 Col: 9 Unexpected non-space characters in table context caused voodoo mode.
|
|
Line: 1 Col: 9 Unexpected end of file. Expected table content.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "xx"
|
|
| <table>
|
|
|
|
#data
|
|
x<table><table>x
|
|
#errors
|
|
Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE.
|
|
Line: 1 Col: 15 Unexpected start tag (table) implies end tag (table).
|
|
Line: 1 Col: 16 Unexpected non-space characters in table context caused voodoo mode.
|
|
Line: 1 Col: 16 Unexpected end of file. Expected table content.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "x"
|
|
| <table>
|
|
| "x"
|
|
| <table>
|
|
|
|
#data
|
|
<b>a<div></div><div></b>y
|
|
#errors
|
|
Line: 1 Col: 3 Unexpected start tag (b). Expected DOCTYPE.
|
|
Line: 1 Col: 24 End tag (b) violates step 1, paragraph 3 of the adoption agency algorithm.
|
|
Line: 1 Col: 25 Expected closing tag. Unexpected end of file.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <b>
|
|
| "a"
|
|
| <div>
|
|
| <div>
|
|
| <b>
|
|
| "y"
|
|
|
|
#data
|
|
<a><div><p></a>
|
|
#errors
|
|
Line: 1 Col: 3 Unexpected start tag (a). Expected DOCTYPE.
|
|
Line: 1 Col: 15 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm.
|
|
Line: 1 Col: 15 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm.
|
|
Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <a>
|
|
| <div>
|
|
| <a>
|
|
| <p>
|
|
| <a>
|