annotate tests/t16.c @ 66:f8507e5ed84c

Recognize directive lines only when the # is exactly in column 0. This is the traditional behavior and Joerg's convinced me it's important to retain it.
author David A. Holland
date Sun, 31 Mar 2013 10:47:08 -0400
parents 0cd5a1d55ed6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
52
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
1 #define a() x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
2 a()
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
3 a ()
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
4 #define b(p) p
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
5 x/**/b(1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
6 x/**/b (1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
7 x/**/b()/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
8 #define c(p,q) p/**/q
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
9 x/**/c(1,2)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
10 x/**/c(1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
11 x/**/c()/**/x