forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8ac5e88

Michael Meskes
Distinguish between C and SQL mode for C-style comments.
SQL standard asks for allowing nested comments, while C does not. Therefore thetwo comments, while mostly similar, have to be parsed seperately.1 parent64d15e4 commit8ac5e88
1 file changed
+27
-12
lines changedLines changed: 27 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
| 106 | + | |
106 | 107 |
| |
107 | 108 |
| |
108 | 109 |
| |
| |||
115 | 116 |
| |
116 | 117 |
| |
117 | 118 |
| |
118 |
| - | |
| 119 | + | |
| 120 | + | |
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
| |||
369 | 371 |
| |
370 | 372 |
| |
371 | 373 |
| |
372 |
| - | |
| 374 | + | |
373 | 375 |
| |
374 | 376 |
| |
375 | 377 |
| |
376 |
| - | |
| 378 | + | |
377 | 379 |
| |
378 | 380 |
| |
379 | 381 |
| |
380 | 382 |
| |
381 |
| - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
382 | 394 |
| |
383 | 395 |
| |
384 | 396 |
| |
385 | 397 |
| |
386 | 398 |
| |
387 |
| - | |
388 |
| - | |
| 399 | + | |
389 | 400 |
| |
390 | 401 |
| |
391 | 402 |
| |
| |||
395 | 406 |
| |
396 | 407 |
| |
397 | 408 |
| |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
398 | 417 |
| |
399 |
| - | |
400 |
| - | |
401 |
| - | |
402 |
| - | |
403 |
| - | |
| 418 | + | |
404 | 419 |
| |
405 | 420 |
| |
406 | 421 |
| |
|
0 commit comments
Comments
(0)