Commit 9d72dec9 authored by thomas's avatar thomas Committed by ufebl

Add lexer tests from group 1.

parent dec73056
/* simple comment */
/* Multiline comment
*/
/*/*/* Nested comment */*/*/
// This is no comment
\ No newline at end of file
*
identifier Nested
identifier comment
*
/
/
identifier This
identifier is
identifier no
identifier comment
EOF
\ No newline at end of file
EOF
\ No newline at end of file
identifier EOF
EOF
\ No newline at end of file
classs ddouble
{
integer synchronised = volatil instance of nul;
}
\ No newline at end of file
identifier classs
identifier ddouble
{
identifier integer
identifier synchronised
=
identifier volatil
identifier instance
identifier of
identifier nul
;
}
EOF
\ No newline at end of file
class class1 {
class class2 {
class class3 {
class class4 {
class class5 {
}
}
}
}
}
class
identifier class1
{
class
identifier class2
{
class
identifier class3
{
class
identifier class4
{
class
identifier class5
{
}
}
}
}
}
EOF
\ No newline at end of file
void a (void) {
a();
}
\ No newline at end of file
void
identifier a
(
void
)
{
identifier a
(
)
;
}
EOF
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment