• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1while (<>) {
2	chomp;
3	$line .= $_;
4	# Some older openGL implementations don't like the \ at the end of an #if
5	# So concatenate those lines here instead.
6	if ($line =~ /\\$/) {
7		chop $line;
8		next;
9	}
10	$line =~ s/\\/\\\\/g;
11	printf "\"$line\\n\"\n";
12	$line = "";
13}
14