- Notifications
You must be signed in to change notification settings - Fork5
Commit08a0c2d
committed
Adjust yywrap macro for non-reentrant scanners for MSVC.
The MSVC compiler complains if a macro is called with less argumentsthan its definition provides for. flex generates a macro with oneargument for yywrap, but only supplies the argument for reentrantscanners, so we remove the useless argument in the non-reentrantcase to silence the warning.1 parent5948a6e commit08a0c2d
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 |
| |
29 | 33 |
| |
30 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 |
| |
32 | 42 |
| |
33 | 43 |
| |
|
0 commit comments
Comments
(0)