Debian Codegraph @

tests/sc24.fw

raw
1 SC23: Test syntax checking of indentation pragma.
2
3 1. Test not three arguments.
4 @p indentation
5 @p indentation =
6 @p indentation = xxx yyy
7
8 2. Test second argument not "=".
9 @p indentation x sloth
10
11 3. Test third argument is not legal.
12 @p indentation = sloth
13
14 4. Test third argument is none.
15 @p indentation = none
16
17 5. Test third argument is blank.
18 6. Test pragma opposes earlier pragma.
19 @p indentation = blank
20
21 7. Test pragma does not oppose earlier pragma.
22 @p indentation = none
23