summaryrefslogtreecommitdiff
path: root/grammars/c/grammar.txt
blob: 486f3193df9c2920bbb2127fd084d3cd0d0af643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
KEYWORDS list
    switch volatile case while do else const for if

IDENT regex
    [a-zA-Z_][0-9a-zA-Z_]*

INT regex
    [0-9]+

OPS list
    ( ) { } [ ] 
    ; ,
    - + ! % * & / << >> ^ |
    -= += != %= *= &= /= <<= == >>= ^= |=
    && || ++ --
    < <= > >= =
    . -> ? :
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback