Skip to content

Commit

Permalink
parsers: support __int128
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Slaby <[email protected]>
  • Loading branch information
jirislaby committed Oct 20, 2015
1 parent da4ce16 commit ea3682c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cparser-c/GNUCa.g
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ typeSpecifier // (6.7.2)
| 'long'
| 'float'
| 'double'
| '__int128'
| s='signed'
| s='__signed'
| s='__signed__'
Expand Down
1 change: 1 addition & 0 deletions src/cz/muni/stanse/cparser/CFGEmitter.g
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ typeSpecifier
| ^(BASETYPE 'long')
| ^(BASETYPE 'float')
| ^(BASETYPE 'double')
| ^(BASETYPE '__int128')
| ^(BASETYPE SIGNED)
| ^(BASETYPE 'unsigned')
| ^(BASETYPE '_Bool')
Expand Down
1 change: 1 addition & 0 deletions src/cz/muni/stanse/cparser/GNUCa.g
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ typeSpecifier // (6.7.2)
| 'long' -> ^(BASETYPE 'long')
| 'float' -> ^(BASETYPE 'float')
| 'double' -> ^(BASETYPE 'double')
| '__int128' -> ^(BASETYPE '__int128')
| s='signed' -> ^(BASETYPE SIGNED[$s])
| s='__signed' -> ^(BASETYPE SIGNED[$s])
| s='__signed__' -> ^(BASETYPE SIGNED[$s])
Expand Down

0 comments on commit ea3682c

Please sign in to comment.