Sublime Forum

Cobc compiler syntax

#1

I’m trying to set up an enviroment from a cobol program to C embedded sql (sqc) program to db2 and back in Ubuntu.

Edit: Now I have got everything working except trigraph handling. I’d appreciate a line of gcc that only handles -trigraphs and nothing else. Or cobc compiler which I use anyway

0 Likes

#2

The lexer does not make an initial pass to strip out trigraphs and escaped ... care of lexing new tokens, handling directives, and expanding macros as necessary.

0 Likes